Details

Time bar (total: 5.8s)

sample24.0ms

Algorithm
intervals
Results
12.0ms265×body80valid

simplify50.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.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite203.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:
9.0ms
(- (* t z) x)
36.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
123.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
31.0ms
(/ (- (* y z) x) (- (* t z) x))

series276.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (* t z) x)
82.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
117.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
55.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify70.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04531085
119871003
250011002

prune601.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
2.0b
(/ y (- (* t z) x))
2.2b
(/ x (- (* t z) x))
3.9b
(fma (/ y (- (* t z) x)) z x)

rewrite136.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:
106.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
13.0ms
(/ y (- (* t z) x))
13.0ms
(/ x (- (* t z) x))
0.0ms
(fma (/ y (- (* t z) x)) z x)

series253.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04881388
116791305
250021301

prune897.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ 1 (/ (- (* t z) x) x))
2.0b
(/ y (- (* t z) x))
2.2b
(/ (- (* t z) x) x)
3.9b
(fma (/ y (- (* t z) x)) z x)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
93×times-frac
62×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×add-exp-log associate-/r*
13×add-cbrt-cube
div-exp associate-/l*
div-inv
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/
rec-exp flip3-- 1-exp flip-- associate-/l/
pow-flip div-sub fma-udef inv-pow
Counts
4 → 151
Calls
4 calls:
16.0ms
(/ 1 (/ (- (* t z) x) x))
13.0ms
(/ y (- (* t z) x))
23.0ms
(/ (- (* t z) x) x)
0.0ms
(fma (/ y (- (* t z) x)) z x)

series151.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ 1 (/ (- (* t z) x) x))
32.0ms
(/ y (- (* t z) x))
36.0ms
(/ (- (* t z) x) x)
54.0ms
(fma (/ y (- (* t z) x)) z x)

simplify72.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05071165
124851044
25001973

prune792.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
0.2b
(/ 1 (- (* t z) x))
0.5b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
10.9b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
37×add-sqr-sqrt
32×times-frac
30×add-cube-cbrt
19×add-exp-log
15×associate-*r*
13×add-cbrt-cube
pow1 associate-/r*
associate-/r/ associate-/l* add-log-exp
div-exp
expm1-log1p-u flip3-- prod-exp flip-- log1p-expm1-u distribute-lft-out
cbrt-undiv fma-def flip3-+ associate-*l* flip-+ div-inv unswap-sqr
frac-times rec-exp frac-2neg 1-exp associate-*l/ clear-num cbrt-unprod associate-/l/
+-commutative pow-flip associate-*r/ pow-prod-down sum-log un-div-inv *-commutative inv-pow
Counts
4 → 132
Calls
4 calls:
6.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
17.0ms
(/ 1 (- (* t z) x))
30.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
60.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series285.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
22.0ms
(/ 1 (- (* t z) x))
119.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
61.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify67.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04891257
121011127
250011095

prune665.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.5b

regimes162.0ms

Accuracy

49.4% (2.3b remaining)

Error of 2.5b against oracle of 0.3b and baseline of 4.7b

bsearch193.0ms

Steps
ItersRangePoint
7
8.108488105369533e-27
2.8583333352761456e-25
1.572624627989041e-25
8
-1.4832348815280324e-127
-1.0466193438079399e-131
-1.408852320120612e-127
6
-2.2392361038549036e+186
-4.497721923591474e+185
-9.713399696511982e+185

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04435
14435

end0.0ms

sample610.0ms

Algorithm
intervals
Results
389.0ms8335×body80valid