Details

Time bar (total: 12.5s)

sample21.0ms

Algorithm
intervals
Results
10.0ms256×body80valid

simplify346.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0919
11918
23918
37718
412818
518418
621118
721618
done21618

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.4b

localize12.0ms

Local error

Found 2 expressions with local error:

2.1b
(- (* x x) (* (* y 4.0) y))
28.9b
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-sub div-exp prod-diff clear-num flip-+ div-inv
Counts
2 → 50
Calls
2 calls:
10.0ms
(- (* x x) (* (* y 4.0) y))
40.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series190.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(- (* x x) (* (* y 4.0) y))
120.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

simplify3.4s

Counts
56 → 56
Iterations

Useful iterations: 3 (1.7s)

IterNodesCost
0911282
12371205
28811090
334631085
done50001085

prune276.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify0.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
done00

prune5.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (pow y 2))
0.5b
(expm1 (/ (- (pow x 2) (* 4.0 (pow y 2))) (fma x x (* (* y 4.0) y))))
2.1b
(- (pow x 2) (* 4.0 (pow y 2)))
28.9b
(/ (- (pow x 2) (* 4.0 (pow y 2))) (fma x x (* (* y 4.0) y)))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
11×add-exp-log
10×unpow-prod-down
times-frac
fma-neg associate-*r* prod-diff add-cbrt-cube
add-log-exp
log1p-expm1-u
pow1 expm1-log1p-u unpow2 unswap-sqr sqr-pow
associate-*l* prod-exp associate-/r* associate-/l*
flip3-- flip-- associate-/l/
cbrt-undiv pow-to-exp sub-neg expm1-log1p frac-2neg diff-log div-sub div-exp pow-exp clear-num *-commutative cbrt-unprod div-inv expm1-udef
Counts
4 → 102
Calls
4 calls:
18.0ms
(* 4.0 (pow y 2))
1.0ms
(expm1 (/ (- (pow x 2) (* 4.0 (pow y 2))) (fma x x (* (* y 4.0) y))))
38.0ms
(- (pow x 2) (* 4.0 (pow y 2)))
46.0ms
(/ (- (pow x 2) (* 4.0 (pow y 2))) (fma x x (* (* y 4.0) y)))

series410.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* 4.0 (pow y 2))
172.0ms
(expm1 (/ (- (pow x 2) (* 4.0 (pow y 2))) (fma x x (* (* y 4.0) y))))
94.0ms
(- (pow x 2) (* 4.0 (pow y 2)))
110.0ms
(/ (- (pow x 2) (* 4.0 (pow y 2))) (fma x x (* (* y 4.0) y)))

simplify3.3s

Counts
114 → 114
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01631924
13471842
28941639
336481626
done50001625

prune656.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 1 expressions with local error:

1.0b
(expm1 1)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt expm1-log1p *-un-lft-identity add-cbrt-cube expm1-udef add-log-exp
Counts
1 → 11
Calls
1 calls:
1.0ms
(expm1 1)

series0.0ms

Counts
1 → 1
Calls
1 calls:
0.0ms
(expm1 1)

simplify2.4s

Counts
12 → 12
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
01239
11636
21832
32332
42932
53932
66032
712832
841432
9183332
done500132

prune30.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.4b

regimes337.0ms

Accuracy

58.8% (13.1b remaining)

Error of 13.3b against oracle of 0.3b and baseline of 32.0b

bsearch2.0ms

simplify12.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03478
14078
done4078

end0.0ms

sample856.0ms

Algorithm
intervals
Results
569.0ms8000×body80valid