Details

Time bar (total: 13.5s)

sample19.0ms

Algorithm
intervals
Results
8.0ms345×body80valid

simplify33.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
1107
2237
3447
4587
done587

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(* x (- 1.0 (* x y)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
prod-diff
distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in
pow1 add-exp-log associate-*r* associate-*l* add-cbrt-cube
sub-neg associate-*r/
expm1-log1p-u flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 32
Calls
1 calls:
27.0ms
(* x (- 1.0 (* x y)))

series72.0ms

Counts
1 → 3
Calls
1 calls:
72.0ms
(* x (- 1.0 (* x y)))

simplify2.4s

Counts
35 → 35
Iterations

Useful iterations: done (2.4s)

IterNodesCost
071411
1151408
2382356
31330347
done5000311

prune110.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (- (* (pow x 2) y)))
8.3b
(* (pow x 2) y)

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*l*
add-exp-log
add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*r* prod-exp
pow1 expm1-log1p-u sum-log log1p-expm1-u unpow2 sqr-pow
+-commutative neg-sub0 pow-to-exp associate-+r- fma-def flip3-+ unsub-neg neg-log pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 47
Calls
2 calls:
18.0ms
(+ (* x 1.0) (- (* (pow x 2) y)))
17.0ms
(* (pow x 2) y)

series98.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(+ (* x 1.0) (- (* (pow x 2) y)))
35.0ms
(* (pow x 2) y)

simplify4.3s

Counts
53 → 53
Iterations

Useful iterations: 3 (2.1s)

IterNodesCost
083507
1212455
2765400
33635364
done5000364

prune174.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (- 1.0 (* y x)) (fma x y 1.0))
0.3b
(* (* (- 1.0 (* y x)) (fma x y 1.0)) x)
7.3b
(/ (* (* (- 1.0 (* y x)) (fma x y 1.0)) x) (+ 1.0 (* x y)))

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
10×pow1 add-sqr-sqrt associate-*l/
add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
associate-*r*
associate-*l* pow-prod-down
cbrt-undiv expm1-log1p-u flip3-- times-frac div-exp associate-/r* flip-- log1p-expm1-u add-log-exp
associate-/r/ *-commutative fma-udef associate-/l/
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ clear-num flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 75
Calls
3 calls:
40.0ms
(* (- 1.0 (* y x)) (fma x y 1.0))
39.0ms
(* (* (- 1.0 (* y x)) (fma x y 1.0)) x)
74.0ms
(/ (* (* (- 1.0 (* y x)) (fma x y 1.0)) x) (+ 1.0 (* x y)))

series377.0ms

Counts
3 → 9
Calls
3 calls:
106.0ms
(* (- 1.0 (* y x)) (fma x y 1.0))
146.0ms
(* (* (- 1.0 (* y x)) (fma x y 1.0)) x)
125.0ms
(/ (* (* (- 1.0 (* y x)) (fma x y 1.0)) x) (+ 1.0 (* x y)))

simplify1.2s

Counts
84 → 84
Iterations

Useful iterations: 2 (438.0ms)

IterNodesCost
01381503
13781426
218621186
done50011186

prune278.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fma x y 1.0) (fma x y 1.0))
0.3b
(* (* y x) (* y x))
1.2b
(* (* (- (* 1.0 1.0) (* (* y x) (* y x))) (fma x y 1.0)) x)
9.9b
(/ (* (* (- (* 1.0 1.0) (* (* y x) (* y x))) (fma x y 1.0)) x) (* (fma x y 1.0) (fma x y 1.0)))

rewrite224.0ms

Algorithm
rewrite-expression-head
Rules
55×pow1
44×add-exp-log add-cbrt-cube
21×pow-prod-down prod-exp cbrt-unprod
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*l/
associate-*r*
cbrt-undiv div-exp
associate-*l* pow-sqr pow-prod-up
expm1-log1p-u swap-sqr log1p-expm1-u add-log-exp
pow-plus *-commutative
pow2 flip3-- flip-- fma-udef associate-/l/
distribute-rgt-in frac-2neg distribute-lft-in times-frac clear-num associate-/r* div-inv associate-/l* unswap-sqr
Counts
4 → 116
Calls
4 calls:
9.0ms
(* (fma x y 1.0) (fma x y 1.0))
49.0ms
(* (* y x) (* y x))
71.0ms
(* (* (- (* 1.0 1.0) (* (* y x) (* y x))) (fma x y 1.0)) x)
91.0ms
(/ (* (* (- (* 1.0 1.0) (* (* y x) (* y x))) (fma x y 1.0)) x) (* (fma x y 1.0) (fma x y 1.0)))

series425.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(* (fma x y 1.0) (fma x y 1.0))
57.0ms
(* (* y x) (* y x))
132.0ms
(* (* (- (* 1.0 1.0) (* (* y x) (* y x))) (fma x y 1.0)) x)
158.0ms
(/ (* (* (- (* 1.0 1.0) (* (* y x) (* y x))) (fma x y 1.0)) x) (* (fma x y 1.0) (fma x y 1.0)))

simplify2.3s

Counts
128 → 128
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01692589
14822375
226071535
done50001381

prune373.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes55.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
187
done87

end0.0ms

sample826.0ms

Algorithm
intervals
Results
391.0ms10666×body80valid