Details

Time bar (total: 4.0s)

sample21.0ms

Algorithm
intervals
Results
10.0ms260×body80valid

simplify54.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: 10.7b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

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

series227.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (* y z) x)
26.0ms
(- (* t z) x)
120.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
59.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify67.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
04621042
12015941
25001941

prune327.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
3.0b
(fma (/ y (- (* t z) x)) z x)
4.9b
(/ y (- (* t z) x))
4.9b
(/ x (- (* t z) x))

rewrite19.0ms

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

series239.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
57.0ms
(fma (/ y (- (* t z) x)) z x)
29.0ms
(/ y (- (* t z) x))
62.0ms
(/ x (- (* t z) x))

simplify51.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0423735
11590652
25001650

prune346.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.2b

localize19.0ms

Local error

Found 4 expressions with local error:

4.9b
(/ y (- (* t z) x))
4.9b
(/ y (- (* t z) x))
4.9b
(/ y (- (* t z) x))
4.9b
(/ x (- (* t z) x))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
12×add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv expm1-log1p-u flip3-- frac-2neg div-exp clear-num flip-- log1p-expm1-u div-inv add-log-exp
Counts
4 → 124
Calls
4 calls:
6.0ms
(/ y (- (* t z) x))
5.0ms
(/ y (- (* t z) x))
5.0ms
(/ y (- (* t z) x))
8.0ms
(/ x (- (* t z) x))

series152.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ y (- (* t z) x))
29.0ms
(/ y (- (* t z) x))
33.0ms
(/ y (- (* t z) x))
60.0ms
(/ x (- (* t z) x))

simplify69.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0206775
1682716
21975716
35001712

prune509.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
110×times-frac
95×*-un-lft-identity
68×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
19×add-exp-log
16×distribute-lft-out
13×associate-/r/ add-cbrt-cube
12×div-inv
11×associate-/l*
div-exp
flip3-- flip--
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u associate-/l/
frac-2neg prod-diff clear-num
rec-exp flip3-+ 1-exp flip-+
sub-neg pow-flip fma-neg diff-log div-sub inv-pow
Counts
4 → 185
Calls
4 calls:
3.0ms
(- (* t z) x)
97.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
12.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
12.0ms
(/ (- (* t z) x) (- (* y z) x))

series325.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(- (* t z) x)
153.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
85.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
63.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify107.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
06862096
133961893
250011810

prune418.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.2b

regimes134.0ms

Accuracy

40.1% (2.6b remaining)

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

bsearch97.0ms

Steps
ItersRangePoint
8
8.822127791424348e-78
6.881825326217822e-75
2.9755770486355057e-75
7
-2.1091723347038596e+37
-1.6020909591168013e+35
-1.6249857732141826e+35

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03822
14022
24022

end0.0ms

sample547.0ms

Algorithm
intervals
Results
328.0ms8328×body80valid