Details

Time bar (total: 2.0s)

analyze76.0ms

Algorithm
search

sample21.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

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

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))) 1.0)
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)

rewrite27.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:
10.0ms
(- (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b))) 1.0)
6.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
5.0ms
(* 4.0 (* b b))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)

series56.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0353568
11336539
25001524

prune114.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New71475
Fresh000
Picked101
Done000
Total72476

Merged error: 0b

Counts
76 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
3.5b
(exp (log (* 4.0 (* b b))))
21.5b
(log (* 4.0 (* b b)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
22×pow1
16×add-exp-log
add-sqr-sqrt pow-prod-down add-cbrt-cube
add-cube-cbrt *-un-lft-identity
exp-prod prod-exp log-pow
add-log-exp
unpow-prod-down pow-unpow rem-log-exp associate-*l* cbrt-unprod
log-prod
pow-to-exp pow-pow associate-*r* exp-sum pow-exp *-commutative rem-exp-log unswap-sqr sqr-pow
Counts
4 → 65
Calls
4 calls:
5.0ms
(* 4.0 (* b b))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
5.0ms
(exp (log (* 4.0 (* b b))))
5.0ms
(log (* 4.0 (* b b)))

series42.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 4.0 (* b b))
23.0ms
(pow (+ (* a a) (* b b)) 2.0)
3.0ms
(exp (log (* 4.0 (* b b))))
13.0ms
(log (* 4.0 (* b b)))

simplify85.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0255329
1881297
23636287
35001282

prune107.0ms

Filtered
47 candidates to 77 candidates (-63.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New76177
Fresh123
Picked011
Done000
Total77481

Merged error: 0b

Counts
81 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
39×add-exp-log
28×prod-exp
27×add-sqr-sqrt
18×add-log-exp
16×*-un-lft-identity unswap-sqr
14×unpow-prod-down
12×pow-to-exp pow-exp
11×associate-*l* add-cbrt-cube
10×unpow2 sqr-pow
add-cube-cbrt associate-*r*
pow1 sum-log
cbrt-unprod
diff-log
pow-prod-down *-commutative distribute-lft-out distribute-lft-out--
+-commutative sub-neg associate-+r+ flip3-- flip3-+ associate--l+ flip-- flip-+ difference-of-squares
Counts
4 → 108
Calls
4 calls:
7.0ms
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
10.0ms
(- (+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))) 1.0)
7.0ms
(* 2 (* (pow a 2) (pow b 2)))
7.0ms
(* (pow a 2) (pow b 2))

series38.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2)))))
12.0ms
(- (+ (pow a 4) (+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))) 1.0)
7.0ms
(* 2 (* (pow a 2) (pow b 2)))
7.0ms
(* (pow a 2) (pow b 2))

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0390833
11683750
25002738

prune178.0ms

Filtered
64 candidates to 120 candidates (-87.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh022
Picked011
Done011
Total1204124

Merged error: 0b

Counts
124 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (* b b))
0.3b
(pow (/ -1 a) (* -2 2.0))
3.5b
(exp (log (* 4.0 (* b b))))
21.5b
(log (* 4.0 (* b b)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
22×pow1
18×add-exp-log
14×add-sqr-sqrt
13×add-cube-cbrt unpow-prod-down *-un-lft-identity
times-frac pow-prod-down add-cbrt-cube
exp-prod prod-exp log-pow
add-log-exp
rem-log-exp associate-*l* cbrt-unprod
log-prod pow-exp
pow-to-exp pow-unpow pow-pow div-exp associate-*r* exp-sum *-commutative div-inv rem-exp-log unswap-sqr sqr-pow
Counts
4 → 74
Calls
4 calls:
5.0ms
(* 4.0 (* b b))
4.0ms
(pow (/ -1 a) (* -2 2.0))
5.0ms
(exp (log (* 4.0 (* b b))))
5.0ms
(log (* 4.0 (* b b)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 4.0 (* b b))
23.0ms
(pow (/ -1 a) (* -2 2.0))
3.0ms
(exp (log (* 4.0 (* b b))))
12.0ms
(log (* 4.0 (* b b)))

simplify102.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0322378
11049339
24639337
35002337

prune117.0ms

Filtered
53 candidates to 86 candidates (-62.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh011
Picked011
Done022
Total86490

Merged error: 0b

Counts
90 → 4

regimes167.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
01710
11710

end0.0ms

analyze75.0ms

Algorithm
search

sample509.0ms

Algorithm
intervals
Results
371.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...