Details

Time bar (total: 4.6s)

sample22.0ms

Algorithm
intervals
Results
11.0ms266×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.9b

localize15.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))
11.1b
(/ (- (* y z) x) (- (* t z) x))

rewrite40.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:
4.0ms
(- (* t z) x)
11.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
14.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
8.0ms
(/ (- (* y z) x) (- (* t z) x))

series280.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03971011
11388948
25001947

prune273.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.9b

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))
11.0b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
36×add-sqr-sqrt
32×times-frac
29×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
flip3-- prod-exp flip-- distribute-lft-out
cbrt-undiv 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 → 121
Calls
4 calls:
3.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
6.0ms
(/ 1 (- (* t z) x))
7.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
12.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series279.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
23.0ms
(/ 1 (- (* t z) x))
116.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
57.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04691203
121141077
250021046

prune324.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.9b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
110×times-frac
97×*-un-lft-identity
67×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
19×add-exp-log
18×distribute-lft-out
13×associate-/r/ add-cbrt-cube div-inv
11×associate-/l*
div-exp
flip3-- flip-- add-log-exp
pow1 cbrt-undiv
associate-/l/
frac-2neg flip3-+ clear-num flip-+
rec-exp 1-exp
+-commutative pow-flip div-sub sum-log inv-pow
Counts
4 → 174
Calls
4 calls:
18.0ms
(+ x (/ 1 (/ (- (* t z) x) (- (* y z) x))))
10.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
23.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
13.0ms
(/ (- (* t z) x) (- (* y z) x))

series398.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06332103
129001864
250011852

prune378.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (- (* t z) x))
0.4b
(/ 1 (- (* y z) x))
0.5b
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
10.5b
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
547×times-frac
274×*-un-lft-identity
254×add-sqr-sqrt add-cube-cbrt
71×associate-/r/
54×add-exp-log
37×div-exp
36×div-inv
34×flip3-- flip--
25×associate-/r* associate-/l*
22×add-cbrt-cube
11×cbrt-undiv
10×rec-exp 1-exp distribute-lft-out
pow1
frac-2neg clear-num add-log-exp
associate-/l/
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 393
Calls
4 calls:
6.0ms
(/ 1 (- (* t z) x))
6.0ms
(/ 1 (- (* y z) x))
60.0ms
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
18.0ms
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ 1 (- (* t z) x))
28.0ms
(/ 1 (- (* y z) x))
152.0ms
(/ (+ x (/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))) (+ x 1.0))
90.0ms
(/ (/ 1 (- (* t z) x)) (/ 1 (- (* y z) x)))

simplify93.0ms

Algorithm
egg-herbie
Counts
405 → 405
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
016985909
150015384

prune836.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.9b

regimes181.0ms

Accuracy

62.5% (2.5b remaining)

Error of 3.4b against oracle of 0.9b and baseline of 7.6b

bsearch96.0ms

Steps
ItersRangePoint
8
5.458811277413238e+100
6.436945031022039e+103
1.453781022003014e+102
9
-2.666222699328035e+140
-2.784784425602926e+135
-4.5810378724450705e+135

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03513
13513

end0.0ms

sample569.0ms

Algorithm
intervals
Results
359.0ms8322×body80valid