Details

Time bar (total: 19.8s)

sample112.0ms

Algorithm
intervals
Results
17.0ms324×body80valid

simplify6.4s

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
06123
110123
217123
331123
447123
559123
669123
791123
8150123
9266123
10566123
111546123
122995123
done5000123

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* y (- z x))
0.0b
(+ x (* y (- z x)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*r*
distribute-rgt-in pow1 associate-+r+ sub-neg distribute-lft-in add-cbrt-cube add-exp-log add-cube-cbrt add-log-exp
associate-*l*
associate-*r/
+-commutative sum-log flip3-+ flip3-- pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ flip-- distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 41
Calls
2 calls:
16.0ms
(* y (- z x))
14.0ms
(+ x (* y (- z x)))

series128.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(* y (- z x))
64.0ms
(+ x (* y (- z x)))

simplify2.1s

Counts
47 → 47
Iterations

Useful iterations: 2 (141.0ms)

IterNodesCost
0728028
11827004
25016924
319686924
done50436924

prune195.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* z y))
0.0b
(+ (+ x (* z y)) (* (- x) y))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
distribute-lft-neg-out add-sqr-sqrt pow1 +-commutative *-un-lft-identity flip3-+ add-cbrt-cube add-exp-log add-cube-cbrt flip-+
associate-+l+ unsub-neg
Counts
2 → 26
Calls
2 calls:
4.0ms
(+ x (* z y))
20.0ms
(+ (+ x (* z y)) (* (- x) y))

series83.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(+ x (* z y))
40.0ms
(+ (+ x (* z y)) (* (- x) y))

simplify3.1s

Counts
32 → 32
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
0517266
11685984
26565384
329485304
done50045304

prune141.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (+ x (* z y)) (+ x (* z y)))
0.3b
(* (* (- x) y) (* (- x) y))
7.8b
(- (* (+ x (* z y)) (+ x (* z y))) (* (* (- x) y) (* (- x) y)))
29.7b
(/ (- (* (+ x (* z y)) (+ x (* z y))) (* (* (- x) y) (* (- x) y))) (- (+ x (* z y)) (* (- x) y)))

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
50×pow1
20×add-cbrt-cube add-exp-log
19×add-sqr-sqrt
18×pow-prod-down
17×*-un-lft-identity add-cube-cbrt
12×times-frac
prod-exp cbrt-unprod
flip3-+ flip-+ add-log-exp
distribute-lft-neg-out pow-sqr pow-prod-up difference-of-squares
frac-times swap-sqr associate-*r* associate-*l* associate-/l*
associate-/r* pow-plus flip3-- flip--
pow2 distribute-rgt-in distribute-lft-in associate-*l/ associate--l+ associate-*r/ associate-/r/ *-commutative associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg diff-log div-sub div-exp sqr-neg distribute-rgt-neg-out div-inv unswap-sqr
Counts
4 → 123
Calls
4 calls:
31.0ms
(* (+ x (* z y)) (+ x (* z y)))
46.0ms
(* (* (- x) y) (* (- x) y))
23.0ms
(- (* (+ x (* z y)) (+ x (* z y))) (* (* (- x) y) (* (- x) y)))
83.0ms
(/ (- (* (+ x (* z y)) (+ x (* z y))) (* (* (- x) y) (* (- x) y))) (- (+ x (* z y)) (* (- x) y)))

series466.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(* (+ x (* z y)) (+ x (* z y)))
36.0ms
(* (* (- x) y) (* (- x) y))
116.0ms
(- (* (+ x (* z y)) (+ x (* z y))) (* (* (- x) y) (* (- x) y)))
232.0ms
(/ (- (* (+ x (* z y)) (+ x (* z y))) (* (* (- x) y) (* (- x) y))) (- (+ x (* z y)) (* (- x) y)))

simplify2.5s

Counts
135 → 135
Iterations

Useful iterations: done (2.5s)

IterNodesCost
017946717
158038139
2227734859
done501034819

prune624.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* (sqrt y) (* (sqrt y) (- z x))))
0.1b
(* (sqrt y) (- z x))
0.1b
(* (sqrt y) (* (sqrt y) (- z x)))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
18×distribute-rgt-in distribute-lft-in
14×add-sqr-sqrt
12×associate-*l*
10×pow1 sub-neg *-un-lft-identity add-cbrt-cube add-exp-log
associate-+r+ add-cube-cbrt
sqrt-prod
associate-*r* associate-*r/
add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- unswap-sqr
+-commutative sum-log flip3-+ flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 80
Calls
3 calls:
10.0ms
(+ x (* (sqrt y) (* (sqrt y) (- z x))))
18.0ms
(* (sqrt y) (- z x))
42.0ms
(* (sqrt y) (* (sqrt y) (- z x)))

series270.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(+ x (* (sqrt y) (* (sqrt y) (- z x))))
113.0ms
(* (sqrt y) (- z x))
85.0ms
(* (sqrt y) (* (sqrt y) (- z x)))

simplify1.8s

Counts
89 → 89
Iterations

Useful iterations: done (1.8s)

IterNodesCost
013321537
137019421
2109515021
done500114901

prune329.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes334.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06123
18123
done8123

end0.0ms

sample819.0ms

Algorithm
intervals
Results
467.0ms10131×body80valid