Details

Time bar (total: 12.5s)

sample169.0ms

Algorithm
intervals
Results
88.0ms120×body1280valid
29.0ms66×body640valid
11.0ms256×pre80true
7.0ms26×body320valid
3.0ms36×body80valid
2.0msbody160valid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.6b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.3b
(tan (+ y z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
9.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series556.0ms

Counts
3 → 9
Calls
3 calls:
135.0ms
(+ x (- (tan (+ y z)) (tan a)))
132.0ms
(- (tan (+ y z)) (tan a))
289.0ms
(tan (+ y z))

simplify102.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune265.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.1b
(+ (tan y) (tan z))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.3b
(* (tan y) (tan z))

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
50.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
3.0ms
(+ (tan y) (tan z))
82.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
8.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
417.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
104.0ms
(+ (tan y) (tan z))
385.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
107.0ms
(* (tan y) (tan z))

simplify88.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06764072
120873376
250023151

prune719.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)))
0.3b
(pow (* (tan y) (tan z)) 3)
0.3b
(* (tan y) (tan z))
27.6b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite242.0ms

Algorithm
rewrite-expression-head
Rules
225×*-un-lft-identity
186×add-sqr-sqrt
140×associate-+r+
138×prod-diff
120×times-frac
100×add-cube-cbrt
72×difference-of-squares
56×cbrt-prod
32×distribute-lft-out
26×sqr-pow
13×distribute-lft-out--
12×tan-quot
pow1 add-exp-log add-cbrt-cube add-log-exp
cube-div associate-/r/
expm1-log1p-u log1p-expm1-u
frac-times pow-unpow cbrt-div flip3-- fma-def associate-*r/ associate-*r* associate-*l* associate-*l/ flip-- div-inv
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp sum-log cbrt-unprod rem-cube-cbrt
+-commutative pow-to-exp associate-+r- sub-neg flip3-+ pow1/3 diff-log *-commutative rem-cbrt-cube flip-+ unswap-sqr
Counts
4 → 232
Calls
4 calls:
211.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)))
4.0ms
(pow (* (tan y) (tan z)) 3)
5.0ms
(* (tan y) (tan z))
3.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series728.0ms

Counts
4 → 12
Calls
4 calls:
385.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a)))
140.0ms
(pow (* (tan y) (tan z)) 3)
102.0ms
(* (tan y) (tan z))
100.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify111.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
09904872
132874403
250034150

prune867.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.3b
(* (tan y) (tan z))
2.3b
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

rewrite345.0ms

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity
56×associate-+r+
54×prod-diff
53×add-sqr-sqrt
51×add-cube-cbrt
36×times-frac
17×add-log-exp
14×distribute-lft-out
tan-quot pow1 add-exp-log fma-def associate-/r/ add-cbrt-cube
exp-prod sum-log
expm1-log1p-u log1p-expm1-u
flip3-- associate-*r* associate-*l* flip-- div-inv rem-exp-log
+-commutative associate-+r- flip3-+ diff-log flip-+ distribute-lft-out--
frac-times sub-neg exp-diff associate-*r/ exp-sum pow-prod-down associate-*l/ frac-add prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 136
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
80.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))
249.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

series1.0s

Counts
4 → 12
Calls
4 calls:
100.0ms
(+ (tan y) (tan z))
367.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
98.0ms
(* (tan y) (tan z))
440.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

simplify66.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06252206
119441985
250011775

prune616.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes293.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02920
12920

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.1s3908×body1280valid
892.0ms1972×body640valid
348.0ms8000×pre80true
205.0ms692×body320valid
101.0ms1138×body80valid
58.0ms290×body160valid