Details

Time bar (total: 3.3s)

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

sample26.0ms

Algorithm
intervals
Results
18.0ms256×body80valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
0476929
1476929

prune6.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.1b

Counts
2 → 1

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

rewrite55.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:
20.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
14.0ms
(* (* a a) (- 1.0 a))
7.0ms
(pow (+ (* a a) (* b b)) 2.0)
10.0ms
(* (* b b) (+ 3.0 a))

series59.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))
33.0ms
(pow (+ (* a a) (* b b)) 2.0)
9.0ms
(* (* b b) (+ 3.0 a))

simplify53.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049531312
149531312

prune161.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1004104
Fresh000
Picked011
Done000
Total1005105

Merged error: 0.1b

Counts
105 → 5

localize23.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* b b) (+ 3.0 a))
19.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
19.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
19.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))

rewrite23.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:
8.0ms
(* (* b b) (+ 3.0 a))
4.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
5.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
4.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))

series109.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (* b b) (+ 3.0 a))
36.0ms
(cbrt (pow (+ (* 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))

simplify72.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049691055
149691055

prune241.0ms

Filtered
64 candidates to 81 candidates (-26.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New78381
Fresh123
Picked101
Done011
Total80686

Merged error: 0.1b

Counts
86 → 6

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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 (+ (* b b) (* a a))) 2.0))
5.0ms
(cbrt (pow (sqrt (+ (* b b) (* a a))) 2.0))
4.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))
4.0ms
(cbrt (pow (+ (* b b) (* a a)) 2.0))

series146.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049051270
149051270

prune284.0ms

Filtered
66 candidates to 78 candidates (-18.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New75378
Fresh044
Picked011
Done011
Total75984

Merged error: 0.1b

Counts
84 → 9

localize39.0ms

Local error

Found 4 expressions with local error:

8.9b
(cbrt (+ (* b b) (* a a)))
8.9b
(cbrt (+ (* b b) (* a a)))
19.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))
19.9b
(cbrt (pow (+ (* b b) (* a a)) 2.0))

rewrite19.0ms

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

series107.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05478926

prune255.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New65368
Fresh156
Picked011
Done022
Total661177

Merged error: 0.0b

Counts
77 → 11

regimes461.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
02529
12529

end0.0ms

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

sample626.0ms

Algorithm
intervals
Results
498.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...