Details

Time bar (total: 13.1s)

sample27.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify218.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1159
2369
3749
41239
51559
61679
71709
done1709

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.8b

localize7.0ms

Local error

Found 1 expressions with local error:

13.3b
(/ (* (* x 2.0) y) (- x y))

rewrite38.0ms

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

series74.0ms

Counts
1 → 3
Calls
1 calls:
74.0ms
(/ (* (* x 2.0) y) (- x y))

simplify2.0s

Counts
34 → 34
Iterations

Useful iterations: 2 (138.0ms)

IterNodesCost
079420
1211400
2995334
done5000334

prune76.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- x y))
7.3b
(* (* x 2.0) (/ y (- x y)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
30×times-frac
21×add-cube-cbrt associate-*r*
16×add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
prod-exp cbrt-unprod
associate-/r*
associate-/r/
cbrt-undiv div-exp pow-prod-down associate-/l*
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num *-commutative
Counts
2 → 82
Calls
2 calls:
12.0ms
(/ y (- x y))
65.0ms
(* (* x 2.0) (/ y (- x y)))

series152.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(/ y (- x y))
97.0ms
(* (* x 2.0) (/ y (- x y)))

simplify1.7s

Counts
88 → 88
Iterations

Useful iterations: 2 (260.0ms)

IterNodesCost
0120947
1304888
21244788
done5000788

prune189.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (/ y (- x y)))
0.0b
(/ y (- x y))
0.0b
(log1p (expm1 (/ y (- x y))))
7.3b
(* (* x 2.0) (log1p (expm1 (/ y (- x y)))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt times-frac
11×add-exp-log add-cbrt-cube
pow1
associate-/r* log1p-expm1-u
expm1-log1p-u distribute-lft-out-- add-log-exp difference-of-squares
associate-*r* pow-prod-down prod-exp cbrt-unprod associate-/l*
associate-/r/
cbrt-undiv log1p-udef expm1-log1p flip3-- frac-2neg log1p-expm1 div-exp associate-*l* clear-num *-commutative flip-- div-inv expm1-udef
Counts
4 → 81
Calls
4 calls:
1.0ms
(expm1 (/ y (- x y)))
14.0ms
(/ y (- x y))
0.0ms
(log1p (expm1 (/ y (- x y))))
19.0ms
(* (* x 2.0) (log1p (expm1 (/ y (- x y)))))

series448.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(expm1 (/ y (- x y)))
67.0ms
(/ y (- x y))
143.0ms
(log1p (expm1 (/ y (- x y))))
122.0ms
(* (* x 2.0) (log1p (expm1 (/ y (- x y)))))

simplify2.5s

Counts
93 → 93
Iterations

Useful iterations: 2 (197.0ms)

IterNodesCost
0125913
1245805
2732713
32926713
done5000713

prune332.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- x y))
0.2b
(* y (/ 1 (- x y)))
7.3b
(* (* x 2.0) (* y (/ 1 (- x y))))

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
51×add-exp-log
44×add-sqr-sqrt
38×*-un-lft-identity
32×times-frac
31×add-cbrt-cube
27×prod-exp
23×add-cube-cbrt
22×associate-*r*
18×pow1
15×cbrt-unprod
pow-prod-down
div-exp
distribute-lft-out-- difference-of-squares
associate-/r*
cbrt-undiv rec-exp 1-exp associate-*r/ associate-*l* associate-/r/
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp unswap-sqr
flip3-- un-div-inv *-commutative flip-- div-inv
pow-flip frac-2neg clear-num inv-pow
Counts
3 → 123
Calls
3 calls:
20.0ms
(/ 1 (- x y))
48.0ms
(* y (/ 1 (- x y)))
75.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

series169.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ 1 (- x y))
55.0ms
(* y (/ 1 (- x y)))
78.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

simplify4.0s

Counts
132 → 132
Iterations

Useful iterations: 2 (286.0ms)

IterNodesCost
01521441
13511130
21075940
34561940
done5000940

prune161.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes155.0ms

Accuracy

92.7% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 7.3b

bsearch2.0ms

simplify17.0ms

Iterations

Useful iterations: 4 (8.0ms)

IterNodesCost
02399
12989
23281
33871
44170
54470
64570
74670
done4670

end0.0ms

sample565.0ms

Algorithm
intervals
Results
325.0ms8000×body80valid