Details

Time bar (total: 2.4s)

analyze82.0ms

Algorithm
search

sample19.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0258
1418
2678
31198
43098
514948
650018

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series56.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0353568
11336539
25001524

prune130.0ms

Filtered
53 candidates to 75 candidates (-41.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New70575
Fresh000
Picked101
Done000
Total71576

Merged error: 0b

Counts
76 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.3b
(pow (+ (* a a) (* b b)) 2.0)
13.5b
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))
13.5b
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log unpow-prod-down pow-unpow sqrt-prod
sqrt-div add-cbrt-cube add-log-exp
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 flip3-+ pow1/2 pow-exp flip-+ sqr-pow
Counts
4 → 64
Calls
4 calls:
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
6.0ms
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))
6.0ms
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))

series81.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(pow (+ (* a a) (* b b)) 2.0)
21.0ms
(pow (+ (* a a) (* b b)) 2.0)
21.0ms
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))
18.0ms
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))

simplify108.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0241690
1860674
23574656
35003646

prune174.0ms

Filtered
58 candidates to 76 candidates (-31.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75176
Fresh134
Picked101
Done000
Total77481

Merged error: 0b

Counts
81 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (pow (+ (* a a) (* b b)) 2.0)) (cbrt (pow (+ (* a a) (* b b)) 2.0)))
19.6b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.6b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.6b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
73×cbrt-prod
46×add-sqr-sqrt
29×unpow-prod-down
22×add-cube-cbrt *-un-lft-identity
16×unswap-sqr
15×sqr-pow
11×pow1
10×swap-sqr associate-*r* associate-*l*
pow1/3
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
15.0ms
(* (cbrt (pow (+ (* a a) (* b b)) 2.0)) (cbrt (pow (+ (* a a) (* b b)) 2.0)))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series137.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
02551564
18051485
237671387
350011360

prune304.0ms

Filtered
88 candidates to 121 candidates (-37.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1210121
Fresh033
Picked011
Done000
Total1214125

Merged error: 0b

Counts
125 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (pow a 4) (* 4.0 (pow b 2))) 1.0)
0.0b
(* 4.0 (pow b 2))

rewrite15.0ms

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

series12.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(- (+ (pow a 4) (* 4.0 (pow b 2))) 1.0)
3.0ms
(* 4.0 (pow b 2))

simplify123.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0186250
1692224
23422220
35001219

prune68.0ms

Filtered
31 candidates to 49 candidates (-58.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New49049
Fresh022
Picked011
Done011
Total49453

Merged error: 0b

Counts
53 → 4

regimes168.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01921
11921

end0.0ms

analyze76.0ms

Algorithm
search

sample479.0ms

Algorithm
intervals
Results
352.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...