Details

Time bar (total: 2.2s)

sample42.0ms

Algorithm
intervals
Results
18.0ms281×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
08211
18211

prune23.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.8b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

3.5b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
4.5b
(* y (+ 1.0 (* z z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
20×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube
13×associate-/l*
cbrt-undiv div-exp
pow1 associate-*r/
associate-*r* associate-*l* prod-exp cbrt-unprod div-inv
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l/ unswap-sqr
Counts
2 → 70
Calls
2 calls:
7.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
5.0ms
(* y (+ 1.0 (* z z)))

series27.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
10.0ms
(* y (+ 1.0 (* z z)))

simplify45.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05002885

prune132.0ms

Filtered
56 candidates to 76 candidates (-35.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New67976
Fresh101
Picked101
Done000
Total69978

Merged error: 5.7b

Counts
78 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
3.5b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
17.0b
(sqrt (+ 1.0 (* z z)))
17.0b
(sqrt (+ 1.0 (* z z)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
30×add-exp-log add-cbrt-cube
28×sqrt-div
24×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
16×associate-*r/
14×flip3-+ flip-+
13×associate-/l*
11×pow1
cbrt-undiv div-exp prod-exp sqrt-prod cbrt-unprod
frac-times associate-/r/
associate-*r*
associate-*l/ add-log-exp
pow-prod-down div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-2neg associate-*l* clear-num associate-/r* *-commutative associate-/l/
Counts
4 → 117
Calls
4 calls:
9.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
13.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
2.0ms
(sqrt (+ 1.0 (* z z)))

series36.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
19.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
3.0ms
(sqrt (+ 1.0 (* z z)))
4.0ms
(sqrt (+ 1.0 (* z z)))

simplify31.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
051111716

prune190.0ms

Filtered
94 candidates to 129 candidates (-37.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh268
Picked011
Done000
Total1308138

Merged error: 5.7b

Counts
138 → 8

localize8.0ms

Local error

Found 3 expressions with local error:

0.5b
(/ 1 (* y (+ 1.0 (* z z))))
3.3b
(* (/ 1.0 x) (/ 1 (* y (+ 1.0 (* z z)))))
4.5b
(* y (+ 1.0 (* z z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
61×add-exp-log
31×add-cbrt-cube
24×prod-exp
23×add-sqr-sqrt
19×div-exp
16×add-cube-cbrt *-un-lft-identity times-frac associate-*l*
12×associate-*r*
10×pow1 cbrt-unprod
cbrt-undiv
associate-*r/
rec-exp 1-exp
associate-/r/
flip3-+ pow-prod-down flip-+ div-inv associate-/l* add-log-exp unswap-sqr
pow-flip *-commutative
distribute-rgt-in frac-times frac-2neg distribute-lft-in associate-*l/ clear-num associate-/r* un-div-inv inv-pow
Counts
3 → 109
Calls
3 calls:
5.0ms
(/ 1 (* y (+ 1.0 (* z z))))
14.0ms
(* (/ 1.0 x) (/ 1 (* y (+ 1.0 (* z z)))))
5.0ms
(* y (+ 1.0 (* z z)))

series38.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(/ 1 (* y (+ 1.0 (* z z))))
17.0ms
(* (/ 1.0 x) (/ 1 (* y (+ 1.0 (* z z)))))
9.0ms
(* y (+ 1.0 (* z z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051301230

prune120.0ms

Filtered
69 candidates to 118 candidates (-71.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1162118
Fresh246
Picked011
Done011
Total1188126

Merged error: 1.9b

Counts
126 → 8

localize9.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ 1.0 (* y x))
7.0b
(/ (/ 1.0 (* y x)) (+ 1.0 (* z z)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube
10×associate-/l*
cbrt-undiv div-exp
div-inv
associate-/r*
pow1 frac-2neg prod-exp clear-num associate-/r/ cbrt-unprod add-log-exp
flip3-+ flip-+ associate-/l/
Counts
2 → 71
Calls
2 calls:
4.0ms
(/ 1.0 (* y x))
7.0ms
(/ (/ 1.0 (* y x)) (+ 1.0 (* z z)))

series20.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(/ 1.0 (* y x))
17.0ms
(/ (/ 1.0 (* y x)) (+ 1.0 (* z z)))

simplify43.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
053381021

prune89.0ms

Filtered
59 candidates to 77 candidates (-30.5%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New77077
Fresh055
Picked011
Done022
Total77885

Merged error: 1.9b

Counts
85 → 8

regimes614.0ms

Accuracy

95.1% (0.2b remaining)

Error of 2.5b against oracle of 2.3b and baseline of 6.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03249
13249

end0.0ms

sample618.0ms

Algorithm
intervals
Results
312.0ms8626×body80valid

Profiling

Loading profile data...