Details

Time bar (total: 5.5s)

sample17.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify21.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1149
2289
3439
4479
done479

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.3b

localize6.0ms

Local error

Found 1 expressions with local error:

15.6b
(/ (+ x y) (* (* x 2.0) y))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
*-un-lft-identity
times-frac associate-/l*
cbrt-undiv add-sqr-sqrt add-cube-cbrt div-exp prod-exp cbrt-unprod
associate-/l/ distribute-lft-out
pow1 expm1-log1p-u frac-2neg flip3-+ clear-num associate-/r* flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 29
Calls
1 calls:
41.0ms
(/ (+ x y) (* (* x 2.0) y))

series55.0ms

Counts
1 → 3
Calls
1 calls:
55.0ms
(/ (+ x y) (* (* x 2.0) y))

simplify648.0ms

Counts
32 → 32
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
075426
1222411
2970333
done5001333

prune66.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x y) y)
6.3b
(* (/ 1 (* x 2.0)) (/ (+ x y) y))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log
35×*-un-lft-identity
28×times-frac
26×add-sqr-sqrt
25×add-cbrt-cube
21×add-cube-cbrt
20×prod-exp
16×div-exp associate-*r*
cbrt-undiv cbrt-unprod
associate-*l* distribute-lft-out
pow1 rec-exp 1-exp associate-/l*
associate-/r* div-inv
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp unswap-sqr
frac-times frac-2neg flip3-+ associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip-+
Counts
2 → 94
Calls
2 calls:
21.0ms
(/ (+ x y) y)
65.0ms
(* (/ 1 (* x 2.0)) (/ (+ x y) y))

series77.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(/ (+ x y) y)
57.0ms
(* (/ 1 (* x 2.0)) (/ (+ x y) y))

simplify1.9s

Counts
100 → 100
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01541304
14731221
23370981
done5000971

prune188.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x y) (* x 2.0))
6.7b
(/ (/ (+ x y) (* x 2.0)) y)

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
33×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt
16×add-exp-log add-cbrt-cube
12×associate-/l*
cbrt-undiv div-exp
div-inv distribute-lft-out
associate-/r*
associate-/l/
pow1 expm1-log1p-u frac-2neg prod-exp clear-num cbrt-unprod log1p-expm1-u add-log-exp
flip3-+ flip-+
Counts
2 → 81
Calls
2 calls:
39.0ms
(/ (+ x y) (* x 2.0))
31.0ms
(/ (/ (+ x y) (* x 2.0)) y)

series100.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ (+ x y) (* x 2.0))
55.0ms
(/ (/ (+ x y) (* x 2.0)) y)

simplify892.0ms

Counts
87 → 87
Iterations

Useful iterations: 2 (240.0ms)

IterNodesCost
01381163
13521124
218571012
done50001012

prune197.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes59.0ms

Accuracy

96.1% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 8.5b

bsearch88.0ms

Steps
ItersRangePoint
10
4.439601988712229e-81
4.535364894247716e-70
8.032379764470729e-73
5
-1.7474756166052982e-22
-4.8321606549894954e-23
-1.4757608743442474e-22

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01739
12529
done2529

end0.0ms

sample981.0ms

Algorithm
intervals
Results
713.0ms8000×body80valid