Details

Time bar (total: 3.2s)

analyze134.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14

sample52.0ms

Algorithm
intervals
Results
15.0ms256×body80valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
0505429

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series61.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
056661201

prune149.0ms

Filtered
64 candidates to 91 candidates (-42.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New88391
Fresh000
Picked011
Done000
Total88492

Merged error: 0.0b

Counts
92 → 4

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* b b) (* (* a a) 2)) (pow a 4))
0.0b
(* (* a a) 2)
2.9b
(* (* b b) (* (* a a) 2))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
29×pow1 add-exp-log add-cbrt-cube
18×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*r*
associate-*l* *-commutative
+-commutative flip3-+ sum-log flip-+ unswap-sqr
Counts
3 → 58
Calls
3 calls:
12.0ms
(+ (* (* b b) (* (* a a) 2)) (pow a 4))
6.0ms
(* (* a a) 2)
10.0ms
(* (* b b) (* (* a a) 2))

series28.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(+ (* (* b b) (* (* a a) 2)) (pow a 4))
3.0ms
(* (* a a) 2)
10.0ms
(* (* b b) (* (* a a) 2))

simplify50.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04965619
14965619

prune78.0ms

Filtered
34 candidates to 67 candidates (-97.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New67067
Fresh022
Picked011
Done011
Total67471

Merged error: 0.0b

Counts
71 → 4

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (pow (+ (* b b) (* a a)) 2.0) 3)
0.3b
(pow (+ (* b b) (* a a)) 2.0)
0.7b
(* (* b b) (+ 3.0 a))
28.1b
(cbrt (pow (pow (+ (* b b) (* a a)) 2.0) 3))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
29×unpow-prod-down
20×cbrt-prod
19×*-un-lft-identity
18×add-sqr-sqrt
17×add-cube-cbrt
14×cube-prod
12×add-exp-log
10×pow1 add-cbrt-cube
sqr-pow
pow-unpow
pow-exp
associate-*r* add-log-exp
pow-to-exp pow-prod-down prod-exp cbrt-unprod
cube-mult pow-pow unpow3 associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow1/3 associate-*l* *-commutative rem-cbrt-cube flip-+ distribute-lft-out rem-cube-cbrt unswap-sqr
Counts
4 → 103
Calls
4 calls:
6.0ms
(pow (pow (+ (* b b) (* a a)) 2.0) 3)
5.0ms
(pow (+ (* b b) (* a a)) 2.0)
11.0ms
(* (* b b) (+ 3.0 a))
6.0ms
(cbrt (pow (pow (+ (* b b) (* a a)) 2.0) 3))

series96.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (pow (+ (* b b) (* a a)) 2.0) 3)
22.0ms
(pow (+ (* b b) (* a a)) 2.0)
6.0ms
(* (* b b) (+ 3.0 a))
34.0ms
(cbrt (pow (pow (+ (* b b) (* a a)) 2.0) 3))

simplify67.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050811470

prune159.0ms

Filtered
65 candidates to 115 candidates (-76.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1141115
Fresh101
Picked011
Done022
Total1154119

Merged error: 0.0b

Counts
119 → 4

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* a a) (- 1.0 a))
0.3b
(* b (* b (* 2.0 (pow a 2.0))))
0.7b
(* (* b b) (+ 3.0 a))
1.2b
(* b (* 2.0 (pow a 2.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
40×add-exp-log
28×add-cbrt-cube
25×prod-exp
21×pow1
15×cbrt-unprod
12×add-sqr-sqrt *-un-lft-identity
11×associate-*r*
10×pow-prod-down
add-cube-cbrt associate-*l*
associate-*r/ *-commutative add-log-exp
distribute-rgt-in pow-to-exp sub-neg distribute-lft-in pow-exp unswap-sqr
flip3-- flip3-+ flip-- flip-+ distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 90
Calls
4 calls:
8.0ms
(* (* a a) (- 1.0 a))
8.0ms
(* b (* b (* 2.0 (pow a 2.0))))
8.0ms
(* (* b b) (+ 3.0 a))
6.0ms
(* b (* 2.0 (pow a 2.0)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (* a a) (- 1.0 a))
36.0ms
(* b (* b (* 2.0 (pow a 2.0))))
6.0ms
(* (* b b) (+ 3.0 a))
35.0ms
(* b (* 2.0 (pow a 2.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05140888

prune149.0ms

Filtered
60 candidates to 102 candidates (-70.0%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done033
Total1024106

Merged error: 0.0b

Counts
106 → 4

regimes230.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04329
14329

end0.0ms

sample1.5s

Algorithm
intervals
Results
461.0ms8000×body80valid

Profiling

Loading profile data...