Details

Time bar (total: 3.8s)

sample23.0ms

Algorithm
intervals
Results
12.0ms266×body80valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite73.0ms

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

series191.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(- (* t z) x)
115.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
53.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify45.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0380891
11345830
25001829

prune249.0ms

Filtered
94 candidates to 68 candidates (72.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.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:
3.0ms
(- (* t z) x)
40.0ms
(/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x))))
44.0ms
(/ 1 (/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x)))))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series311.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (* t z) x)
113.0ms
(/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x))))
114.0ms
(/ 1 (/ (+ x 1.0) (+ x (/ (- (* y z) x) (- (* t z) x)))))
57.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify80.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06312700
128952493
250012372

prune381.0ms

Filtered
208 candidates to 104 candidates (50.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* t z) x)
0.0b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
0.6b
(/ 1 (- (* t z) x))
7.0b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite52.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
flip3-- div-exp flip--
prod-exp distribute-lft-out
cbrt-undiv associate-*l* div-inv unswap-sqr
frac-times rec-exp frac-2neg flip3-+ 1-exp associate-*l/ clear-num cbrt-unprod flip-+ associate-/l/
sub-neg pow-flip diff-log associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 122
Calls
4 calls:
3.0ms
(- (* t z) x)
11.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
9.0ms
(/ 1 (- (* t z) x))
24.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series224.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04681138
121091017
25003986

prune335.0ms

Filtered
134 candidates to 89 candidates (66.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
37×add-sqr-sqrt
35×times-frac
30×add-cube-cbrt
19×add-exp-log
18×associate-*l*
13×add-cbrt-cube
distribute-lft-out
pow1 associate-/r*
associate-/r/ associate-/l* add-log-exp
div-exp
flip3-+ associate-*r* prod-exp flip-+
cbrt-undiv flip3-- flip-- div-inv unswap-sqr
frac-times rec-exp frac-2neg 1-exp associate-*r/ clear-num cbrt-unprod associate-/l/
distribute-rgt-in sub-neg pow-flip distribute-lft-in diff-log div-sub pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 128
Calls
4 calls:
3.0ms
(- (* t z) x)
6.0ms
(/ 1 (+ x 1.0))
82.0ms
(* (/ 1 (+ x 1.0)) (+ x (/ (- (* y z) x) (- (* t z) x))))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series226.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06331098
12994990
25001964

prune321.0ms

Filtered
140 candidates to 93 candidates (66.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.5b

regimes192.0ms

Accuracy

61.5% (2.6b remaining)

Error of 3.4b against oracle of 0.8b and baseline of 7.5b

bsearch104.0ms

Steps
ItersRangePoint
10
2.4051897841780437e+82
1.784572377508781e+100
4.627460619151451e+89
9
-1.6468005772374444e+103
-3.894404755976368e+95
-3.322900235750417e+102

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03513
13513

end0.0ms

sample549.0ms

Algorithm
intervals
Results
328.0ms8310×body80valid