Details

Time bar (total: 4.0s)

sample24.0ms

Algorithm
intervals
Results
12.0ms269×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.4b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.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:
11.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
4.0ms
(- (* t z) x)
15.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.0ms
(/ (- (* y z) x) (- (* t z) x))

series286.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04531085
119871003
250011002

prune357.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
17.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
6.0ms
(/ y (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))

series286.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
36.0ms
(/ y (- (* t z) x))
56.0ms
(fma (/ y (- (* t z) x)) z x)
64.0ms
(/ x (- (* t z) x))

simplify58.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04881388
116791305
250021301

prune419.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (/ 1 (+ x 1.0)))
3.3b
(/ y (- (* t z) x))
3.3b
(fma (/ y (- (* t z) x)) z x)
3.3b
(/ x (- (* t z) x))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
38×*-un-lft-identity
33×times-frac
29×add-cube-cbrt
18×associate-*r*
17×add-exp-log
13×add-cbrt-cube
pow1 associate-*l* associate-/r* associate-/r/ associate-/l*
expm1-log1p-u flip3-- div-exp prod-exp flip-- log1p-expm1-u add-log-exp
cbrt-undiv div-inv distribute-lft-out unswap-sqr
frac-times frac-2neg associate-*l/ clear-num cbrt-unprod difference-of-squares
rec-exp flip3-+ 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative flip-+ fma-udef distribute-lft-out--
Counts
4 → 122
Calls
4 calls:
19.0ms
(* (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (/ 1 (+ x 1.0)))
6.0ms
(/ y (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
10.0ms
(/ x (- (* t z) x))

series281.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05581203
123791095
250011079

prune415.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
3.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
7.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
6.0ms
(/ 1 (- (* t z) x))
13.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series316.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
136.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
27.0ms
(/ 1 (- (* t z) x))
66.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify76.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04891257
121011127
250011095

prune368.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes202.0ms

Accuracy

74.1% (1.1b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03739
13739

end0.0ms

sample539.0ms

Algorithm
intervals
Results
326.0ms8329×body80valid