Details

Time bar (total: 2.8s)

sample42.0ms

Algorithm
intervals
Results
18.0ms265×body80valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.9b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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:
10.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* y z) x)
14.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series81.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
7.0ms
(- (* y z) x)
32.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
17.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify44.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04001011
11421948
25002947

prune148.0ms

Filtered
110 candidates to 80 candidates (27.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1046110
Fresh000
Picked011
Done000
Total1047111

Merged error: 0b

Counts
111 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
0.3b
(/ 1 (- (* t z) x))
8.8b
(* (- (* 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
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
(- (* y z) x)
7.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
6.0ms
(/ 1 (- (* t z) x))
12.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series63.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* y z) x)
33.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
6.0ms
(/ 1 (- (* t z) x))
18.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04591136
120731015
25002984

prune143.0ms

Filtered
134 candidates to 88 candidates (34.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1331134
Fresh145
Picked011
Done011
Total1347141

Merged error: 0b

Counts
141 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.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)
25.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
11.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
8.0ms
(/ (- (* t z) x) (- (* y z) x))

series82.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06232022
128651858
250011779

prune153.0ms

Filtered
185 candidates to 106 candidates (42.7%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1850185
Fresh044
Picked011
Done022
Total1857192

Merged error: 0b

Counts
192 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)))
9.0b
(/ (- (* y z) x) (- (* t z) x))
9.0b
(/ (- (* y z) x) (- (* t z) x))
9.0b
(/ (- (* y z) x) (- (* t z) x))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity
43×times-frac
37×add-sqr-sqrt add-cube-cbrt
22×cbrt-prod
10×add-exp-log add-cbrt-cube
associate-/r* associate-/l*
associate-/r/ distribute-lft-out
flip3-- flip-- associate-/l/
pow1 div-inv add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num
cbrt-div flip3-+ pow1/3 flip-+
Counts
4 → 127
Calls
4 calls:
12.0ms
(cbrt (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)))
8.0ms
(/ (- (* y z) x) (- (* t z) x))
8.0ms
(/ (- (* y z) x) (- (* t z) x))
8.0ms
(/ (- (* y z) x) (- (* t z) x))

series124.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(cbrt (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)))
16.0ms
(/ (- (* y z) x) (- (* t z) x))
16.0ms
(/ (- (* y z) x) (- (* t z) x))
19.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify46.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03431418
111301327
250011316

prune234.0ms

Filtered
139 candidates to 110 candidates (20.9%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1390139
Fresh033
Picked011
Done033
Total1397146

Merged error: 0b

Counts
146 → 7

regimes464.0ms

Accuracy

88.3% (0.7b remaining)

Error of 2.2b against oracle of 1.5b and baseline of 7.8b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03929
13929

end0.0ms

sample774.0ms

Algorithm
intervals
Results
398.0ms8333×body80valid

Profiling

Loading profile data...