Details

Time bar (total: 1.5s)

analyze79.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%50%25.1%6
25%31.2%43.8%7
25%21.9%53.2%8
25%14%61%9
28.1%10.9%61%10
31.6%7.4%61%11
33.4%5.7%61%12
35.2%3.8%61%13
36.1%2.9%61%14

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
0482817
1482817

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.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
0.0b
(* 4.0 (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log
add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-log-exp
unpow-prod-down pow-unpow associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative pow-to-exp pow-pow flip3-+ associate-*r* pow-exp sum-log *-commutative flip-+ unswap-sqr sqr-pow
Counts
3 → 47
Calls
3 calls:
7.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
5.0ms
(* 4.0 (* b b))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)

series40.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
3.0ms
(* 4.0 (* b b))
21.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify54.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05297649

prune82.0ms

Filtered
41 candidates to 56 candidates (-36.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New54256
Fresh000
Picked101
Done000
Total55257

Merged error: 0b

Counts
57 → 2

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow a 4) (* a (* a (* b (* b 2)))))
0.8b
(* a (* a (* b (* b 2))))
1.0b
(* a (* b (* b 2)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
26×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* *-commutative
+-commutative flip3-+ sum-log flip-+
Counts
3 → 56
Calls
3 calls:
5.0ms
(+ (pow a 4) (* a (* a (* b (* b 2)))))
9.0ms
(* a (* a (* b (* b 2))))
9.0ms
(* a (* b (* b 2)))

series23.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ (pow a 4) (* a (* a (* b (* b 2)))))
7.0ms
(* a (* a (* b (* b 2))))
7.0ms
(* a (* b (* b 2)))

simplify56.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04976647
14976647

prune70.0ms

Filtered
32 candidates to 65 candidates (-103.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New65065
Fresh011
Picked011
Done000
Total65267

Merged error: 0b

Counts
67 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (* b b))
0.0b
(+ (+ (pow b (* 2.0 2)) (* a (* a (* 2.0 (pow b 2.0))))) (* 4.0 (* b b)))
0.8b
(* a (* a (* 2.0 (pow b 2.0))))
1.0b
(* a (* 2.0 (pow b 2.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
35×add-exp-log
23×add-cbrt-cube
22×prod-exp
16×pow1
12×cbrt-unprod
associate-*l* add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity pow-prod-down
associate-*r* sum-log *-commutative
pow-to-exp pow-exp
+-commutative associate-+l+ flip3-+ flip-+ unswap-sqr
Counts
4 → 73
Calls
4 calls:
5.0ms
(* 4.0 (* b b))
9.0ms
(+ (+ (pow b (* 2.0 2)) (* a (* a (* 2.0 (pow b 2.0))))) (* 4.0 (* b b)))
7.0ms
(* a (* a (* 2.0 (pow b 2.0))))
5.0ms
(* a (* 2.0 (pow b 2.0)))

series86.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 4.0 (* b b))
19.0ms
(+ (+ (pow b (* 2.0 2)) (* a (* a (* 2.0 (pow b 2.0))))) (* 4.0 (* b b)))
33.0ms
(* a (* a (* 2.0 (pow b 2.0))))
31.0ms
(* a (* 2.0 (pow b 2.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04919971
14919971

prune119.0ms

Filtered
56 candidates to 85 candidates (-51.8%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh000
Picked011
Done011
Total85287

Merged error: 0b

Counts
87 → 2

regimes73.0ms

Accuracy

53.8% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 1.0b

bsearch30.0ms

Steps
ItersRangePoint
9
1.9517107282476988e-103
4.989081450846171e-98
7.585443724790434e-102
7
-401798.14218892227
-12869.025651217391
-13027.803644546246

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06151
16151

end0.0ms

sample509.0ms

Algorithm
intervals
Results
368.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...