Details

Time bar (total: 4.4s)

sample79.0ms

Algorithm
intervals
Results
54.0ms624×body80valid

simplify91.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05315
116115
245915
3132315
4299215
5500115

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (* 3.0 a))
0.1b
(* (* a a) (+ 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.8b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
10×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
associate-*r*
pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
distribute-rgt-in sub-neg unpow-prod-down pow-unpow distribute-lft-in
flip3-- associate-*l* *-commutative flip-- unswap-sqr
pow-to-exp pow-pow flip3-+ diff-log pow-exp flip-+ distribute-lft-out sqr-pow
Counts
4 → 78
Calls
4 calls:
3.0ms
(- 1.0 (* 3.0 a))
7.0ms
(* (* a a) (+ 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(- 1.0 (* 3.0 a))
5.0ms
(* (* a a) (+ 1.0 a))
20.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify52.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0444494
12096434
25003430

prune118.0ms

Filtered
57 candidates to 90 candidates (-57.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New88290
Fresh000
Picked011
Done000
Total88391

Merged error: 0.1b

Counts
91 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* b b) (- 1.0 (* 3.0 a)))
18.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
18.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
18.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log unpow-prod-down add-cbrt-cube
add-log-exp
pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod sqr-pow
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- associate-*l* *-commutative flip-- unswap-sqr
Counts
4 → 70
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series107.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
33.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
34.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
32.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify37.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0295702
11114636
25001618

prune244.0ms

Filtered
64 candidates to 82 candidates (-28.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New78482
Fresh011
Picked011
Done011
Total78785

Merged error: 0.1b

Counts
85 → 7

localize27.0ms

Local error

Found 4 expressions with local error:

11.5b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
11.5b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
18.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
18.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
34×cbrt-prod
18×unpow-prod-down
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp sqr-pow
Counts
4 → 66
Calls
4 calls:
7.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
5.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series134.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
34.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
33.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
34.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0212832
1481780
21535756
35002726

prune292.0ms

Filtered
62 candidates to 78 candidates (-25.8%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New73578
Fresh224
Picked011
Done022
Total751085

Merged error: 0.0b

Counts
85 → 10

localize37.0ms

Local error

Found 4 expressions with local error:

10.9b
(sqrt (+ (* a a) (* b b)))
11.5b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
18.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
18.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
13×add-sqr-sqrt
12×add-cube-cbrt unpow-prod-down *-un-lft-identity
sqrt-prod
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqr-pow
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 63
Calls
4 calls:
4.0ms
(sqrt (+ (* a a) (* b b)))
5.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series291.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* a a) (* b b)))
33.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
220.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
33.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0281691
1734650
22241632
35002610

prune277.0ms

Filtered
61 candidates to 75 candidates (-23.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New72375
Fresh156
Picked101
Done123
Total751085

Merged error: 0.0b

Counts
85 → 10

regimes448.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02715
12715

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.3s20337×body80valid

Profiling

Loading profile data...