Details

Time bar (total: 3.5s)

analyze174.0ms

Algorithm
search

sample24.0ms

Algorithm
intervals
Results
16.0ms256×body80valid

simplify90.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
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
0.1b
(* (* a a) (+ 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
1.2b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*r/
17×pow1 add-exp-log
16×add-cbrt-cube
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt associate-*r*
pow-prod-down prod-exp cbrt-unprod
associate-*l*
distribute-rgt-in distribute-lft-in flip3-+ frac-add flip-+ add-log-exp
unpow-prod-down pow-unpow flip3-- *-commutative flip-- unswap-sqr
sub-neg
pow-to-exp pow-pow pow-exp distribute-lft-out sqr-pow
Counts
4 → 92
Calls
4 calls:
11.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 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)))

series64.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
9.0ms
(* (* a a) (+ 1.0 a))
22.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify113.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
0694813
13813726
25002722

prune158.0ms

Filtered
69 candidates to 104 candidates (-50.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh000
Picked011
Done000
Total1014105

Merged error: 0.1b

Counts
105 → 4

localize21.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (* b b) (- 1.0 (* 3.0 a)))
19.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite22.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))

series109.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))
36.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
34.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

prune289.0ms

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

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New76682
Fresh022
Picked011
Done011
Total761086

Merged error: 0.1b

Counts
86 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

9.7b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
9.7b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
19.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite19.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:
5.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))

series132.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0212832
1481780
21535756
35002726

prune316.0ms

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

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New72678
Fresh167
Picked101
Done112
Total751388

Merged error: 0.0b

Counts
88 → 13

localize37.0ms

Local error

Found 4 expressions with local error:

9.0b
(sqrt (+ (* a a) (* b b)))
9.7b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
19.9b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.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))

series108.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0281691
1734650
22241632
35002610

prune271.0ms

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

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh01111
Picked011
Done011
Total751388

Merged error: 0.0b

Counts
88 → 13

regimes518.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02715
12715

end0.0ms

analyze136.0ms

Algorithm
search

sample667.0ms

Algorithm
intervals
Results
532.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...