Details

Time bar (total: 1.9s)

analyze81.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
12.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 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log
add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down pow-unpow associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ sum-log flip-+
pow-to-exp pow-pow associate-*r* pow-exp *-commutative unswap-sqr sqr-pow
Counts
4 → 58
Calls
4 calls:
6.0ms
(+ (* a a) (* b b))
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)

series44.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* a a) (* b b))
14.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
3.0ms
(* 4.0 (* b b))
22.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify31.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
05434782

prune110.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New66470
Fresh000
Picked101
Done000
Total67471

Merged error: 0b

Counts
71 → 4

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow b 4) (+ (pow a 4) (* a (* a (* b (* b 2))))))
0.3b
(* a (* a (* b (* b 2))))
0.9b
(* a (* b (* b 2)))

rewrite29.0ms

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

series26.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05254785

prune84.0ms

Filtered
35 candidates to 68 candidates (-94.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh033
Picked011
Done000
Total68472

Merged error: 0b

Counts
72 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
3.3b
(pow (pow (+ (* a a) (* b b)) (* (cbrt 2.0) (cbrt 2.0))) (cbrt 2.0))
4.7b
(pow (+ (* a a) (* b b)) (* (cbrt 2.0) (cbrt 2.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
13×unpow-prod-down
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log pow-unpow
pow1 pow-exp
add-cbrt-cube add-log-exp
pow-to-exp sqr-pow
pow-pow pow1/3
Counts
4 → 63
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
6.0ms
(pow (pow (+ (* a a) (* b b)) (* (cbrt 2.0) (cbrt 2.0))) (cbrt 2.0))
5.0ms
(pow (+ (* a a) (* b b)) (* (cbrt 2.0) (cbrt 2.0)))

series86.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
51.0ms
(pow (pow (+ (* a a) (* b b)) (* (cbrt 2.0) (cbrt 2.0))) (cbrt 2.0))
35.0ms
(pow (+ (* a a) (* b b)) (* (cbrt 2.0) (cbrt 2.0)))

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
04885908
14885908

prune169.0ms

Filtered
57 candidates to 71 candidates (-24.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New70171
Fresh112
Picked011
Done011
Total71475

Merged error: 0b

Counts
75 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 1 (pow b (* 2.0 2))) (* 4.0 (* b b)))
0.0b
(- (+ (* 1 (pow b (* 2.0 2))) (* 4.0 (* b b))) 1.0)
0.0b
(* 4.0 (* b b))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt
associate-*l* pow-prod-down prod-exp cbrt-unprod
diff-log sum-log
+-commutative sub-neg flip3-- flip3-+ associate-*r* associate--l+ *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 45
Calls
3 calls:
6.0ms
(+ (* 1 (pow b (* 2.0 2))) (* 4.0 (* b b)))
8.0ms
(- (+ (* 1 (pow b (* 2.0 2))) (* 4.0 (* b b))) 1.0)
5.0ms
(* 4.0 (* b b))

series82.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(+ (* 1 (pow b (* 2.0 2))) (* 4.0 (* b b)))
40.0ms
(- (+ (* 1 (pow b (* 2.0 2))) (* 4.0 (* b b))) 1.0)
3.0ms
(* 4.0 (* b b))

simplify45.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04900643
14900643

prune76.0ms

Filtered
41 candidates to 54 candidates (-31.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New54054
Fresh011
Picked011
Done022
Total54458

Merged error: 0b

Counts
58 → 4

regimes204.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03019
13019

end0.0ms

sample523.0ms

Algorithm
intervals
Results
375.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...