Details

Time bar (total: 4.0s)

sample22.0ms

Algorithm
intervals
Results
10.0ms266×body80valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.0b
(- (* t z) x)
10.3b
(/ (- (* y z) x) (- (* t z) x))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
25×times-frac
24×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u div-sub associate-/r/ log1p-expm1-u associate-/l/
flip3-- fma-def flip3-+ prod-diff flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg fma-neg diff-log sum-log
Counts
4 → 113
Calls
4 calls:
61.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
17.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* t z) x)
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series334.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
95.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
32.0ms
(- (* t z) x)
63.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify78.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
04531085
119871003
250011002

prune376.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* t z) x)
1.6b
(fma (/ y (- (* t z) x)) z x)
2.7b
(/ x (- (* t z) x))
3.3b
(/ y (- (* t z) x))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l* add-log-exp
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u
flip3-- prod-diff flip--
cbrt-undiv frac-2neg div-exp clear-num div-inv
sub-neg fma-neg diff-log fma-udef
Counts
4 → 90
Calls
4 calls:
3.0ms
(- (* t z) x)
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series209.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (* t z) x)
69.0ms
(fma (/ y (- (* t z) x)) z x)
70.0ms
(/ x (- (* t z) x))
40.0ms
(/ y (- (* t z) x))

simplify59.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0300556
11274494
25001494

prune333.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ 1 (/ (- (* t z) x) (- (* y z) x))))
0.0b
(- (* t z) x)
0.4b
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
10.4b
(/ (- (* t z) x) (- (* y z) x))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
61×*-un-lft-identity
58×add-sqr-sqrt add-cube-cbrt
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
div-exp add-log-exp
flip3-- flip-- div-inv
associate-/l*
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
fma-def prod-diff
rec-exp frac-2neg 1-exp clear-num associate-/l/ distribute-lft-out
+-commutative sub-neg pow-flip flip3-+ fma-neg diff-log div-sub sum-log flip-+ inv-pow
Counts
4 → 156
Calls
4 calls:
32.0ms
(+ x (/ 1 (/ (- (* t z) x) (- (* y z) x))))
3.0ms
(- (* t z) x)
13.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
12.0ms
(/ (- (* t z) x) (- (* y z) x))

series282.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(+ x (/ 1 (/ (- (* t z) x) (- (* y z) x))))
25.0ms
(- (* t z) x)
90.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
66.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify80.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05781591
127071359
250011352

prune385.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ 1 (- (/ (* t z) (- (* y z) x)) (/ x (- (* y z) x)))))
0.4b
(/ 1 (- (/ (* t z) (- (* y z) x)) (/ x (- (* y z) x))))
2.0b
(/ x (- (* y z) x))
12.1b
(/ (* t z) (- (* y z) x))

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
43×times-frac
40×*-un-lft-identity
29×add-cube-cbrt
24×associate-/r/
15×add-exp-log associate-/r*
13×add-cbrt-cube
12×distribute-rgt-out-- div-inv
11×flip3-- flip--
difference-of-squares
associate-/l*
add-log-exp
pow1 div-exp
cbrt-undiv expm1-log1p-u log1p-expm1-u distribute-lft-out--
fma-def frac-2neg clear-num
distribute-lft-out
+-commutative rec-exp pow-flip flip3-+ 1-exp prod-exp sum-log frac-sub cbrt-unprod flip-+ inv-pow sub-div
Counts
4 → 135
Calls
4 calls:
92.0ms
(+ x (/ 1 (- (/ (* t z) (- (* y z) x)) (/ x (- (* y z) x)))))
58.0ms
(/ 1 (- (/ (* t z) (- (* y z) x)) (/ x (- (* y z) x))))
5.0ms
(/ x (- (* y z) x))
7.0ms
(/ (* t z) (- (* y z) x))

series308.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(+ x (/ 1 (- (/ (* t z) (- (* y z) x)) (/ x (- (* y z) x)))))
96.0ms
(/ 1 (- (/ (* t z) (- (* y z) x)) (/ x (- (* y z) x))))
57.0ms
(/ x (- (* y z) x))
38.0ms
(/ (* t z) (- (* y z) x))

simplify63.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04951424
120411285
250011278

prune361.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes134.0ms

Accuracy

44.2% (2.4b remaining)

Error of 2.7b against oracle of 0.3b and baseline of 4.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03524
13524

end0.0ms

sample545.0ms

Algorithm
intervals
Results
333.0ms8333×body80valid