Details

Time bar (total: 2.7s)

analyze127.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

sample25.0ms

Algorithm
intervals
Results
16.0ms256×body80valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
0495429
1495429

prune11.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: 0.2b

Counts
2 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 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)
1.1b
(* (* b b) (+ 3.0 a))

rewrite39.0ms

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

series44.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049511320
149511320

prune197.0ms

Filtered
74 candidates to 104 candidates (-40.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New995104
Fresh011
Picked101
Done000
Total1006106

Merged error: 0.1b

Counts
106 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series36.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05263852

prune142.0ms

Filtered
59 candidates to 100 candidates (-69.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh055
Picked011
Done000
Total1006106

Merged error: 0.1b

Counts
106 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (* b b) (+ 3.0 a))
20.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
20.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
20.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))

rewrite26.0ms

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

series106.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050631043

prune235.0ms

Filtered
61 candidates to 81 candidates (-32.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New79281
Fresh044
Picked011
Done011
Total79887

Merged error: 0.0b

Counts
87 → 8

localize35.0ms

Local error

Found 4 expressions with local error:

9.6b
(cbrt (+ (* b b) (* a a)))
15.4b
(cbrt (pow (* (cbrt (+ (* b b) (* a a))) (cbrt (+ (* b b) (* a a)))) 2.0))
20.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
20.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))

rewrite19.0ms

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

series123.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
056941121

prune215.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New65368
Fresh055
Picked101
Done022
Total661076

Merged error: 0.0b

Counts
76 → 10

regimes301.0ms

Accuracy

0% (0.1b 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
010229
110229

end0.0ms

sample680.0ms

Algorithm
intervals
Results
524.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...