Details

Time bar (total: 4.3s)

sample23.0ms

Algorithm
intervals
Results
10.0ms270×body80valid

simplify46.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: 8.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.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:
17.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* t z) x)
58.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series279.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
22.0ms
(- (* t z) x)
111.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
68.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify62.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04531085
119871003
250011002

prune316.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
2.2b
(/ x (- (* t z) x))
3.8b
(/ y (- (* t z) x))
4.1b
(fma (/ y (- (* t z) x)) z x)

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
56×*-un-lft-identity
47×times-frac
32×add-cube-cbrt
12×associate-/l*
10×add-exp-log associate-/r* add-cbrt-cube difference-of-squares
distribute-lft-out
associate-/r/
distribute-lft-out--
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
associate-/l/
flip3-+ div-sub flip-+ fma-udef
Counts
4 → 125
Calls
4 calls:
53.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
5.0ms
(/ x (- (* t z) x))
5.0ms
(/ y (- (* t z) x))
0.0ms
(fma (/ y (- (* t z) x)) z x)

series258.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
56.0ms
(/ x (- (* t z) x))
31.0ms
(/ y (- (* t z) x))
51.0ms
(fma (/ y (- (* t z) x)) z x)

simplify58.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04881388
116791305
250021301

prune390.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
2.2b
(/ x (- (* t z) x))
3.8b
(/ y (- (* t z) x))
4.1b
(fma (/ y (- (* t z) x)) z x)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
56×*-un-lft-identity
47×times-frac
32×add-cube-cbrt
12×associate-/r*
10×add-exp-log add-cbrt-cube associate-/l* difference-of-squares
distribute-lft-out
associate-/r/
distribute-lft-out--
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
associate-/l/
flip3-+ flip-+ fma-udef
Counts
4 → 124
Calls
4 calls:
34.0ms
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
5.0ms
(/ x (- (* t z) x))
5.0ms
(/ y (- (* t z) x))
0.0ms
(fma (/ y (- (* t z) x)) z x)

series252.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
57.0ms
(/ x (- (* t z) x))
27.0ms
(/ y (- (* t z) x))
55.0ms
(fma (/ y (- (* t z) x)) z x)

simplify47.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
04241343
114841277
250021277

prune408.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.3b

localize19.0ms

Local error

Found 4 expressions with local error:

4.1b
(fma (/ y (- (* t z) x)) z x)
12.9b
(cbrt (/ x (- (* t z) x)))
12.9b
(cbrt (/ x (- (* t z) x)))
12.9b
(cbrt (/ x (- (* t z) x)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
45×cbrt-prod
27×times-frac
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-/r/
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div flip3-- pow1/3 flip-- div-inv
fma-udef
Counts
4 → 88
Calls
4 calls:
0.0ms
(fma (/ y (- (* t z) x)) z x)
4.0ms
(cbrt (/ x (- (* t z) x)))
4.0ms
(cbrt (/ x (- (* t z) x)))
4.0ms
(cbrt (/ x (- (* t z) x)))

series501.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(fma (/ y (- (* t z) x)) z x)
154.0ms
(cbrt (/ x (- (* t z) x)))
147.0ms
(cbrt (/ x (- (* t z) x)))
147.0ms
(cbrt (/ x (- (* t z) x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0198798
1476762
21621754
35001748

prune404.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.3b

regimes201.0ms

Accuracy

28.5% (3.2b remaining)

Error of 3.6b against oracle of 0.3b and baseline of 4.9b

bsearch160.0ms

Steps
ItersRangePoint
9
1.6784019503397877e+183
4.994442467960035e+189
4.5656430069255667e+185
8
-2.903246339363953e+50
-4.467281414413093e+46
-2.6731385595801352e+50
5
-2.3267312145650984e+131
-7.559873105150134e+130
-8.785255565727344e+130
7
-1.1005812533853509e+224
-1.6590400635091646e+222
-9.477014454293518e+223

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05042
15042

end0.0ms

sample529.0ms

Algorithm
intervals
Results
316.0ms8326×body80valid