Details

Time bar (total: 17.6s)

sample211.0ms

Algorithm
intervals
Results
103.0ms113×body1280valid
45.0ms75×body640valid
29.0ms256×pre80true
8.0ms22×body320valid
4.0ms37×body80valid
2.0msbody160valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.9b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
5.7b
(tan (+ y z))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series104.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ x (- (tan (+ y z)) (tan a)))
40.0ms
(- (tan (+ y z)) (tan a))
18.0ms
(tan (+ y z))

simplify36.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune393.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos a))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 96
Calls
4 calls:
12.0ms
(* (+ (tan y) (tan z)) (cos a))
22.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series261.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (+ (tan y) (tan z)) (cos a))
175.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
23.0ms
(* (tan y) (tan z))
25.0ms
(* (tan y) (tan z))

simplify69.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05871304
126941144
250011128

prune1.4s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)
28.8b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
16×tan-quot
14×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
cbrt-prod
cube-div associate-*r* associate-*l*
frac-times associate-*r/ associate-*l/ add-log-exp
pow-unpow cbrt-div pow-prod-down prod-exp cbrt-unprod
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-exp *-commutative rem-cube-cbrt unswap-sqr sqr-pow
pow-to-exp pow1/3 rem-cbrt-cube
Counts
4 → 87
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
6.0ms
(pow (* (tan y) (tan z)) 3)
3.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series112.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (tan y) (tan z))
25.0ms
(* (tan y) (tan z))
41.0ms
(pow (* (tan y) (tan z)) 3)
23.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0263510
11337490
25002489

prune1.3s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize41.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
0.3b
(/ (- (* (* (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (cos a)) (+ 1 (* (tan y) (tan z)))) (* (* (cos y) (cos z)) (* (- (* 1 1) (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (sin a)))) (* (* (cos y) (cos z)) (* (- 1 (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (cos a))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
108×associate-*l/
84×pow1
73×frac-times
68×tan-quot
51×associate-*r/
48×add-exp-log add-cbrt-cube
42×associate-/l/
40×frac-sub
35×pow-prod-down
30×flip3-+ flip-+
27×cos-mult
25×prod-exp cbrt-unprod
19×flip3-- flip--
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity pow-sqr pow-prod-up
cbrt-undiv div-exp associate-*r* associate-*l* associate-/r/
pow-plus add-log-exp
times-frac *-commutative associate-/l*
pow2 swap-sqr
frac-2neg div-sub clear-num associate-/r* div-inv unswap-sqr
Counts
4 → 194
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
23.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
21.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
86.0ms
(/ (- (* (* (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (cos a)) (+ 1 (* (tan y) (tan z)))) (* (* (cos y) (cos z)) (* (- (* 1 1) (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (sin a)))) (* (* (cos y) (cos z)) (* (- 1 (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (cos a))))

series539.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (tan y) (tan z))
34.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
34.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
446.0ms
(/ (- (* (* (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (cos a)) (+ 1 (* (tan y) (tan z)))) (* (* (cos y) (cos z)) (* (- (* 1 1) (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (sin a)))) (* (* (cos y) (cos z)) (* (- 1 (* (* (tan y) (tan z)) (* (tan y) (tan z)))) (cos a))))

simplify65.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013354881
150024507

prune4.6s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

regimes1.8s

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03022
13022

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.5s3876×body1280valid
1.1s1968×body640valid
940.0ms8000×pre80true
264.0ms689×body320valid
139.0ms1165×body80valid
79.0ms302×body160valid