Details

Time bar (total: 20.4s)

sample48.0ms

Algorithm
intervals
Results
21.0ms269×body80valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify3.5s

Counts
1 → 1
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
01215
15415
214714
333414
499614
5330514
done500014

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.8b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.2b
(- (tanh (/ t y)) (tanh (/ x y)))
0.5b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
2.0ms
(tanh (/ x y))
20.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
69.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.2s

Counts
4 → 12
Calls
4 calls:
122.0ms
(tanh (/ x y))
339.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
368.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
338.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.5s

Counts
126 → 126
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02213259
15612726
218412366
done50002137

prune630.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize24.0ms

Local error

Found 4 expressions with local error:

1.3b
(* z (fma (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y))) (- (tanh (/ x y)))))
7.1b
(cbrt (tanh (/ t y)))
7.1b
(cbrt (tanh (/ t y)))
7.1b
(cbrt (tanh (/ t y)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
cbrt-prod add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* associate-*l* tanh-def
fma-udef
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 70
Calls
4 calls:
8.0ms
(* z (fma (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y))) (- (tanh (/ x y)))))
3.0ms
(cbrt (tanh (/ t y)))
3.0ms
(cbrt (tanh (/ t y)))
3.0ms
(cbrt (tanh (/ t y)))

series1.4s

Counts
4 → 12
Calls
4 calls:
657.0ms
(* z (fma (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y))) (- (tanh (/ x y)))))
250.0ms
(cbrt (tanh (/ t y)))
225.0ms
(cbrt (tanh (/ t y)))
295.0ms
(cbrt (tanh (/ t y)))

simplify1.2s

Counts
82 → 82
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01121413
12451383
25811027
31913928
done5001883

prune510.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
0.0b
(tanh (/ x y))
0.2b
(- (tanh (/ t y)) (tanh (/ x y)))
4.2b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
45×prod-diff
41×add-sqr-sqrt *-un-lft-identity
37×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
18×frac-sub
13×tanh-def
11×associate-*r/
pow1 add-exp-log add-cbrt-cube
add-log-exp
sub-neg associate-*r*
expm1-log1p-u log1p-expm1-u
fma-def fma-neg pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
+-commutative flip3-+ diff-log associate-*l* sum-log *-commutative flip-+
Counts
4 → 142
Calls
4 calls:
23.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
4.0ms
(tanh (/ x y))
33.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
93.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series1.3s

Counts
4 → 12
Calls
4 calls:
542.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
124.0ms
(tanh (/ x y))
350.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
278.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify2.1s

Counts
154 → 154
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02614155
17473462
227872986
done50012697

prune625.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(* z (* (- (tanh (/ t y)) (tanh (/ x y))) y))
0.2b
(- (tanh (/ t y)) (tanh (/ x y)))
3.0b
(* (- (tanh (/ t y)) (tanh (/ x y))) y)

rewrite548.0ms

Algorithm
rewrite-expression-head
Rules
27×frac-sub
22×associate-*l/
20×add-sqr-sqrt
19×tanh-def
18×*-un-lft-identity
14×add-cube-cbrt
11×pow1 add-exp-log associate-*r/ add-cbrt-cube
prod-diff
associate-*l*
add-log-exp
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- fma-neg flip--
*-commutative distribute-lft-out-- difference-of-squares
sub-neg diff-log unswap-sqr
Counts
4 → 113
Calls
4 calls:
4.0ms
(tanh (/ x y))
424.0ms
(* z (* (- (tanh (/ t y)) (tanh (/ x y))) y))
16.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
99.0ms
(* (- (tanh (/ t y)) (tanh (/ x y))) y)

series1.4s

Counts
4 → 12
Calls
4 calls:
147.0ms
(tanh (/ x y))
400.0ms
(* z (* (- (tanh (/ t y)) (tanh (/ x y))) y))
400.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
405.0ms
(* (- (tanh (/ t y)) (tanh (/ x y))) y)

simplify1.9s

Counts
125 → 125
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02172882
16062656
221972430
done50022349

prune671.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

regimes133.0ms

Accuracy

0% (2.0b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01427
11527
done1527

end0.0ms

sample1.5s

Algorithm
intervals
Results
892.0ms8300×body80valid
29.0ms102×body640valid
18.0ms46×body1280valid
14.0ms62×body320valid
5.0ms34×body160valid