Details

Time bar (total: 4.5s)

sample31.0ms

Algorithm
intervals
Results
20.0ms263×body80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.6b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
22×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 div-sub associate-/r/ associate-/l/
flip3-- flip3-+ flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg diff-log sum-log
Counts
4 → 98
Calls
4 calls:
16.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* y z) x)
57.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series266.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
20.0ms
(- (* y z) x)
112.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
54.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify49.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04001011
11421948
25001947

prune275.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 2.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
110×times-frac
94×*-un-lft-identity
67×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
associate-/l/
frac-2neg clear-num
rec-exp flip3-+ 1-exp flip-+
sub-neg pow-flip diff-log div-sub inv-pow
Counts
4 → 173
Calls
4 calls:
3.0ms
(- (* y z) x)
14.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
92.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
11.0ms
(/ (- (* t z) x) (- (* y z) x))

series301.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(- (* y z) x)
81.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
145.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
54.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify77.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06232024
128651860
250011781

prune350.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (- (* y z) x))
0.3b
(/ 1 (* (- (* t z) x) (/ 1 (- (* y z) x))))
1.0b
(/ (+ x (/ 1 (* (- (* t z) x) (/ 1 (- (* y z) x))))) (+ x 1.0))
10.8b
(* (- (* t z) x) (/ 1 (- (* y z) x)))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
54×add-exp-log
43×times-frac
40×add-sqr-sqrt
33×add-cube-cbrt
22×add-cbrt-cube
21×div-exp
16×prod-exp distribute-lft-out
15×associate-*r*
12×associate-/r/
11×associate-/l*
10×pow1 rec-exp 1-exp
div-inv
associate-/r*
cbrt-undiv
flip3-- flip--
frac-times associate-*l/ cbrt-unprod add-log-exp
pow-flip frac-2neg associate-*l* clear-num unswap-sqr
flip3-+ associate-*r/ pow-prod-down un-div-inv flip-+ associate-/l/ inv-pow
*-commutative
Counts
4 → 164
Calls
4 calls:
6.0ms
(/ 1 (- (* y z) x))
21.0ms
(/ 1 (* (- (* t z) x) (/ 1 (- (* y z) x))))
38.0ms
(/ (+ x (/ 1 (* (- (* t z) x) (/ 1 (- (* y z) x))))) (+ x 1.0))
23.0ms
(* (- (* t z) x) (/ 1 (- (* y z) x)))

series308.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (- (* y z) x))
84.0ms
(/ 1 (* (- (* t z) x) (/ 1 (- (* y z) x))))
146.0ms
(/ (+ x (/ 1 (* (- (* t z) x) (/ 1 (- (* y z) x))))) (+ x 1.0))
54.0ms
(* (- (* t z) x) (/ 1 (- (* y z) x)))

simplify83.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05681621
126941418
250021379

prune337.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 2.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
155×times-frac
81×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
29×associate-/r*
19×add-exp-log
13×associate-/r/ add-cbrt-cube
10×associate-/l*
div-exp
div-inv
flip3-+ flip-+ add-log-exp
pow1 cbrt-undiv
associate-/l/
flip3-- frac-2neg clear-num flip--
rec-exp 1-exp
sub-neg pow-flip diff-log div-sub inv-pow
Counts
4 → 196
Calls
4 calls:
5.0ms
(- (* y z) x)
41.0ms
(/ 1 (/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x)))))
41.0ms
(/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x))))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series318.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(- (* y z) x)
128.0ms
(/ 1 (/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x)))))
117.0ms
(/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x))))
53.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify87.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06342700
129282493
250012372

prune361.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 2.1b

regimes213.0ms

Accuracy

80.3% (1.3b remaining)

Error of 2.3b against oracle of 1.0b and baseline of 7.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04030
14030

end0.0ms

sample888.0ms

Algorithm
intervals
Results
671.0ms8334×body80valid