Details

Time bar (total: 3.1s)

sample44.0ms

Algorithm
intervals
Results
25.0ms673×body80valid

simplify55.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.1b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite90.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:
7.0ms
(+ (* a a) (* b b))
17.0ms
(* 4.0 (* b b))
54.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
10.0ms
(pow (+ (* a a) (* b b)) 2.0)

series206.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (* a a) (* b b))
28.0ms
(* 4.0 (* b b))
56.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
97.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

prune155.0ms

Pruning

3 alts after pruning (2 fresh and 1 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))))) 1.0)
0.0b
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
1.4b
(* (pow a 2) (pow b 2))

rewrite292.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-log-exp
16×unswap-sqr
15×add-exp-log
14×unpow-prod-down *-un-lft-identity
10×unpow2 sqr-pow
prod-exp
associate-*r* associate-*l*
add-cube-cbrt
pow-to-exp pow-exp sum-log
add-cbrt-cube
pow1 diff-log
distribute-lft-out distribute-lft-out--
+-commutative sub-neg associate-+r+ flip3-- flip3-+ pow-prod-down associate--l+ *-commutative flip-- cbrt-unprod flip-+ difference-of-squares
Counts
3 → 83
Calls
3 calls:
236.0ms
(- (+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))) 1.0)
33.0ms
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
20.0ms
(* (pow a 2) (pow b 2))

series129.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))) 1.0)
45.0ms
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
33.0ms
(* (pow a 2) (pow b 2))

simplify46.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0334682
11417617
25001605

prune199.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite88.0ms

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

series114.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(* 4.0 (* b b))
55.0ms
(+ (+ (pow b 4) (* 2.0 (* (pow a 2) (pow b 2)))) (* 4.0 (* b b)))
32.0ms
(* (pow a 2) (pow b 2))

simplify47.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0343527
11495442
25001435

prune175.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes104.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample1.2s

Algorithm
intervals
Results
777.0ms20628×body80valid