Details

Time bar (total: 3.1s)

sample40.0ms

Algorithm
intervals
Results
26.0ms622×body80valid

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

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

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

series216.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
24.0ms
(* 4.0 (* b b))
26.0ms
(+ (* a a) (* b b))
102.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify40.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0322413
11353379
25001379

prune159.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
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
0.0b
(* 2 (* (pow a 2) (pow b 2)))
2.8b
(* (pow a 2) (pow b 2))

rewrite44.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×*-un-lft-identity add-cbrt-cube unpow2 sqr-pow
associate-*r*
add-cube-cbrt add-log-exp
pow1
cbrt-unprod
sum-log
pow-prod-down *-commutative
+-commutative associate-+r+ flip3-+ flip-+ distribute-lft-out
Counts
3 → 90
Calls
3 calls:
19.0ms
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
13.0ms
(* 2 (* (pow a 2) (pow b 2)))
9.0ms
(* (pow a 2) (pow b 2))

series116.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0330587
11424506
25001495

prune195.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
0.3b
(pow (+ (* a a) (* b b)) (* 2 2.0))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
36.2b
(/ (+ (* (- (* 4.0 4.0)) (pow b 4)) (pow (+ (* a a) (* b b)) (* 2 2.0))) (- (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log
pow1 unpow-prod-down add-cbrt-cube add-log-exp
pow-unpow
associate-/r* associate-/l*
pow-to-exp flip3-- pow-pow pow-exp associate-/r/ flip-- associate-/l/ sqr-pow
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num flip-+ div-inv
Counts
4 → 75
Calls
4 calls:
35.0ms
(- (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
4.0ms
(pow (+ (* a a) (* b b)) (* 2 2.0))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
70.0ms
(/ (+ (* (- (* 4.0 4.0)) (pow b 4)) (pow (+ (* a a) (* b b)) (* 2 2.0))) (- (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))

series449.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
106.0ms
(pow (+ (* a a) (* b b)) (* 2 2.0))
106.0ms
(pow (+ (* a a) (* b b)) 2.0)
167.0ms
(/ (+ (* (- (* 4.0 4.0)) (pow b 4)) (pow (+ (* a a) (* b b)) (* 2 2.0))) (- (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))))

simplify61.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
03981307
119641176
250021120

prune287.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes43.0ms

Accuracy

0% (1.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1189

end0.0ms

sample1.1s

Algorithm
intervals
Results
773.0ms20276×body80valid