Details

Time bar (total: 3.7s)

sample75.0ms

Algorithm
intervals
Results
51.0ms689×body80valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
0494631
1494631

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

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
0.1b
(* (* a a) (+ 1.0 a))
0.4b
(pow (+ (* a a) (* b b)) 2.0)
1.0b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite33.0ms

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

series67.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
6.0ms
(* (* a a) (+ 1.0 a))
26.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify25.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
056941297

prune185.0ms

Filtered
63 candidates to 91 candidates (-44.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New83891
Fresh000
Picked101
Done000
Total84892

Merged error: 0.0b

Counts
92 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (pow (sqrt (+ (* b b) (* a a))) 2.0) (pow (sqrt (+ (* b b) (* a a))) 2.0))
1.0b
(* (* b b) (- 1.0 (* 3.0 a)))
7.8b
(sqrt (+ (* b b) (* a a)))
7.8b
(sqrt (+ (* b b) (* a a)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×unpow-prod-down
28×sqrt-prod
21×add-exp-log
19×add-cube-cbrt *-un-lft-identity
17×unswap-sqr
13×associate-*r*
12×swap-sqr prod-exp sqr-pow
11×pow1 associate-*l* add-cbrt-cube
pow-to-exp pow-exp
sqrt-div pow-prod-down cbrt-unprod add-log-exp
distribute-rgt-in sub-neg rem-sqrt-square distribute-lft-in sqrt-pow1 flip3-+ pow1/2 associate-*r/ *-commutative flip-+
pow2 flip3-- pow-sqr pow-prod-up flip--
Counts
4 → 125
Calls
4 calls:
16.0ms
(* (pow (sqrt (+ (* b b) (* a a))) 2.0) (pow (sqrt (+ (* b b) (* a a))) 2.0))
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(sqrt (+ (* b b) (* a a)))
4.0ms
(sqrt (+ (* b b) (* a a)))

series57.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (pow (sqrt (+ (* b b) (* a a))) 2.0) (pow (sqrt (+ (* b b) (* a a))) 2.0))
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
6.0ms
(sqrt (+ (* b b) (* a a)))
6.0ms
(sqrt (+ (* b b) (* a a)))

simplify64.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050552116

prune210.0ms

Filtered
80 candidates to 137 candidates (-71.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1352137
Fresh707
Picked011
Done000
Total1423145

Merged error: 0b

Counts
145 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (sqrt (+ (* b b) (* a a))) (+ 2.0 2.0)) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
0.1b
(* (* a a) (+ 1.0 a))
1.0b
(* (* b b) (- 1.0 (* 3.0 a)))
7.8b
(sqrt (+ (* b b) (* a a)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1
14×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt associate-*r*
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/
flip3-+ sqrt-prod flip-+
sub-neg associate-+r+ sqrt-div associate-*l* *-commutative unswap-sqr
+-commutative rem-sqrt-square flip3-- sqrt-pow1 pow1/2 sum-log flip-- distribute-lft-out
Counts
4 → 77
Calls
4 calls:
14.0ms
(+ (pow (sqrt (+ (* b b) (* a a))) (+ 2.0 2.0)) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
9.0ms
(* (* a a) (+ 1.0 a))
9.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(sqrt (+ (* b b) (* a a)))

series44.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (pow (sqrt (+ (* b b) (* a a))) (+ 2.0 2.0)) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
6.0ms
(* (* a a) (+ 1.0 a))
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
6.0ms
(sqrt (+ (* b b) (* a a)))

simplify24.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
056771262

prune150.0ms

Filtered
61 candidates to 89 candidates (-45.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done011
Total89392

Merged error: 0b

Counts
92 → 3

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (pow (sqrt (+ (* b b) (* a a))) 2.0) 6)
1.0b
(* (* b b) (- 1.0 (* 3.0 a)))
7.8b
(sqrt (+ (* b b) (* a a)))
29.7b
(cbrt (pow (pow (sqrt (+ (* b b) (* a a))) 2.0) 6))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
32×unpow-prod-down
16×add-sqr-sqrt
14×cbrt-prod add-cube-cbrt *-un-lft-identity
11×add-exp-log
10×pow1
sqrt-prod add-cbrt-cube
pow-exp add-log-exp sqr-pow
pow-unpow associate-*r* pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in pow-to-exp sub-neg distribute-lft-in sqrt-div associate-*r/
rem-sqrt-square flip3-- pow-pow sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l* *-commutative flip-- flip-+ unswap-sqr
Counts
4 → 88
Calls
4 calls:
7.0ms
(pow (pow (sqrt (+ (* b b) (* a a))) 2.0) 6)
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(sqrt (+ (* b b) (* a a)))
8.0ms
(cbrt (pow (pow (sqrt (+ (* b b) (* a a))) 2.0) 6))

series93.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(pow (pow (sqrt (+ (* b b) (* a a))) 2.0) 6)
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
9.0ms
(sqrt (+ (* b b) (* a a)))
37.0ms
(cbrt (pow (pow (sqrt (+ (* b b) (* a a))) 2.0) 6))

simplify43.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049341365
149341365

prune171.0ms

Filtered
63 candidates to 100 candidates (-58.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1000100
Fresh000
Picked011
Done022
Total1003103

Merged error: 0b

Counts
103 → 3

regimes119.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02934
12934

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.5s20932×body80valid

Profiling

Loading profile data...