Details

Time bar (total: 3.5s)

sample65.0ms

Algorithm
intervals
Results
50.0ms639×body80valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0258
1418
2678
31198
43098
514948
650018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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)

rewrite34.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:
23.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
6.0ms
(* 4.0 (* b b))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)

series192.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
30.0ms
(* 4.0 (* b b))
101.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify115.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0249342
1939315
23534315
35001315

prune125.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2 (* (pow a 2) (pow b 2)))
0.0b
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
2.5b
(* (pow a 2) (pow b 2))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
38×add-exp-log
28×prod-exp
24×add-sqr-sqrt
16×unswap-sqr
14×unpow-prod-down
12×pow-to-exp pow-exp
11×associate-*l*
10×add-cbrt-cube unpow2 sqr-pow
associate-*r*
add-cube-cbrt *-un-lft-identity
pow1 add-log-exp
cbrt-unprod
pow-prod-down *-commutative
+-commutative flip3-+ sum-log flip-+
Counts
3 → 87
Calls
3 calls:
15.0ms
(* 2 (* (pow a 2) (pow b 2)))
6.0ms
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
9.0ms
(* (pow a 2) (pow b 2))

series122.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 2 (* (pow a 2) (pow b 2)))
56.0ms
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
31.0ms
(* (pow a 2) (pow b 2))

simplify46.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0297518
11268445
25002432

prune187.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow b 4) (* 2.0 (* (pow a 2) (pow b 2))))
0.0b
(+ (+ (pow b 4) (* 2.0 (* (pow a 2) (pow b 2)))) (* 4.0 (* b b)))
0.0b
(* 4.0 (* b b))
2.5b
(* (pow a 2) (pow b 2))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×add-exp-log
17×unswap-sqr
14×unpow-prod-down
12×prod-exp
11×associate-*l* add-cbrt-cube add-log-exp
10×unpow2 sqr-pow
pow1 add-cube-cbrt *-un-lft-identity associate-*r*
pow-to-exp pow-exp
pow-prod-down sum-log cbrt-unprod
+-commutative flip3-+ *-commutative flip-+
associate-+l+
Counts
4 → 94
Calls
4 calls:
6.0ms
(+ (pow b 4) (* 2.0 (* (pow a 2) (pow b 2))))
29.0ms
(+ (+ (pow b 4) (* 2.0 (* (pow a 2) (pow b 2)))) (* 4.0 (* b b)))
6.0ms
(* 4.0 (* b b))
9.0ms
(* (pow a 2) (pow b 2))

series179.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(+ (pow b 4) (* 2.0 (* (pow a 2) (pow b 2))))
66.0ms
(+ (+ (pow b 4) (* 2.0 (* (pow a 2) (pow b 2)))) (* 4.0 (* b b)))
24.0ms
(* 4.0 (* b b))
32.0ms
(* (pow a 2) (pow b 2))

simplify59.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0398648
11813559
25001551

prune236.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes31.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1189

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.5s20597×body80valid